Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-20596: Propagate Azure Service Bus message headers #13574

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

Large diffs are not rendered by default.

Expand Up @@ -50,6 +50,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "disableAutoComplete": getOrCreateConfiguration(target).setDisableAutoComplete(property(camelContext, boolean.class, value)); return true;
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": getOrCreateConfiguration(target).setFullyQualifiedNamespace(property(camelContext, java.lang.String.class, value)); return true;
case "headerfilterstrategy":
case "headerFilterStrategy": getOrCreateConfiguration(target).setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "maxautolockrenewduration":
Expand Down Expand Up @@ -116,6 +118,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "disableAutoComplete": return boolean.class;
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": return java.lang.String.class;
case "headerfilterstrategy":
case "headerFilterStrategy": return org.apache.camel.spi.HeaderFilterStrategy.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "maxautolockrenewduration":
Expand Down Expand Up @@ -178,6 +182,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "disableAutoComplete": return getOrCreateConfiguration(target).isDisableAutoComplete();
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": return getOrCreateConfiguration(target).getFullyQualifiedNamespace();
case "headerfilterstrategy":
case "headerFilterStrategy": return getOrCreateConfiguration(target).getHeaderFilterStrategy();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
case "maxautolockrenewduration":
Expand Down
Expand Up @@ -44,6 +44,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": target.getConfiguration().setFullyQualifiedNamespace(property(camelContext, java.lang.String.class, value)); return true;
case "headerfilterstrategy":
case "headerFilterStrategy": target.getConfiguration().setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
case "maxautolockrenewduration":
Expand Down Expand Up @@ -111,6 +113,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "exchangePattern": return org.apache.camel.ExchangePattern.class;
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": return java.lang.String.class;
case "headerfilterstrategy":
case "headerFilterStrategy": return org.apache.camel.spi.HeaderFilterStrategy.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "maxautolockrenewduration":
Expand Down Expand Up @@ -174,6 +178,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "exchangePattern": return target.getExchangePattern();
case "fullyqualifiednamespace":
case "fullyQualifiedNamespace": return target.getConfiguration().getFullyQualifiedNamespace();
case "headerfilterstrategy":
case "headerFilterStrategy": return target.getConfiguration().getHeaderFilterStrategy();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
case "maxautolockrenewduration":
Expand Down
Expand Up @@ -21,7 +21,7 @@ public class ServiceBusEndpointUriFactory extends org.apache.camel.support.compo
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Set<String> MULTI_VALUE_PREFIXES;
static {
Set<String> props = new HashSet<>(29);
Set<String> props = new HashSet<>(30);
props.add("amqpRetryOptions");
props.add("amqpTransportType");
props.add("binary");
Expand All @@ -34,6 +34,7 @@ public class ServiceBusEndpointUriFactory extends org.apache.camel.support.compo
props.add("exceptionHandler");
props.add("exchangePattern");
props.add("fullyQualifiedNamespace");
props.add("headerFilterStrategy");
props.add("lazyStartProducer");
props.add("maxAutoLockRenewDuration");
props.add("peekNumMaxMessages");
Expand Down