We are trying to read the JMS_IBM_MQMD_ApplIdentityData message property and set it on the response message. We are using IBM MQ. The code I have implemented is not reading or writing this property on IBM MQ. Application runs on tomcat. Our MQ connection information is in the context.xml. Here is the code we are trying to write the property on the way out.
from("direct:toIBMMQ") .bean(WorkFlowLogger.class, "logInfo('" + className + "|ROUTE=toBXQueuePitchTransaction;STATE=OPERATION_BEGIN')") .setExchangePattern(ExchangePattern.InOnly) .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { exchange.getOut().setHeader("JMS_IBM_MQMD_ApplIdentityData","MyApplIdentityData"); } }) .to("myJms:queue:myQueue?maxConcurrentConsumers=30&testConnectionOnStartup=true&transacted=false"); We are using org.apache.camel.component.jms.JmsComponent. spring config <bean id="myJms" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory" ref="bxCredentialsConnectionFactory" /> </bean> -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-set-JMS-IBM-MQMD-ApplIdentityData-using-camel-tp5793780.html Sent from the Camel - Users mailing list archive at Nabble.com.