RE: [EXTERNAL] Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-03-13 Thread ravi21588
Hi Vanshul, Thanks for the reply. Iam using Jboss eap 6.1 and i have configured the connection factory and MQ adapter as mentioned in below.I have setup SSL configuration etc. https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuratio

RE: [EXTERNAL] Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-03-13 Thread Vanshul . Chawla
al Message- From: ravi21588 [mailto:ravi21...@gmail.com] Sent: Monday, March 13, 2017 9:44 AM To: users@camel.apache.org Subject: [EXTERNAL] Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel Hi Santhosh, Can you please let me know how did you use destination resolver with Apache ca

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-03-13 Thread ravi21588
Hi Santhosh, Can you please let me know how did you use destination resolver with Apache camel. Iam using Jboss fuse service works 6.0,in which iam using switchyard as service delivery framework and camel as implementation. -- View this message in context: http://camel.465427.n5.nabble.com/Unab

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-15 Thread santhoshks
Thank you Zoran.. using the destinationResolver did work for me. -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-set-JMS-IBM-MQMD-ApplIdentityData-using-camel-tp5793781p5793939.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-15 Thread Zoran Regvart
Hi Santhosh, There should not be great difference between the code example in the documentation and the code you need. In your first message you have `myJms`, that would be your JmsComponent, so look in your code where you have defined the `myJms` component, and there you just need to set the Dest

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-14 Thread santhoshks
Hi Zoran, Using the destinationResolver may be my option. The example in the link gives on how to create the destinationResolver. Will you be able to guide me on how will I use that in route. Will I be putting that in process or will it be a separate bean and call that bean in the route? I am ne

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-11 Thread Zoran Regvart
Hi Santhosh, the JMS component lets you set `javax.jms.Destination` via the `destination` property on the endpoint; or you can use `destinationResolver` property on the endpoint or `JMSDestination` header value and implement `org.springframework.jms.support.destination.DestinationResolver` interfac

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread santhoshks
Thank you Zoran... This is only the sample code which tries to publish message to IBM MQ and sets the header. Actual application has much more in it. As per IBM specification, we need to do following but I am not sure how to set MQMD properties in Camel. // Enable MQMD write dest.setBooleanPro

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread Zoran Regvart
Hi Santhosh, in your Processor set the header on the In message, but also, if you're not doing anything else in the Processor but setting the header value to a constant value, you can use the setHeader method of the Java DSL. >From the IBMMQ side, make sure that you've understand the prerequisites