set the queueManager property of the com.ibm.mq.jms.MQConnectionFactory Henrique Viecili
On 2 December 2014 at 08:30, clinton <clint.pe...@ionep.com> wrote: > I'm using WebSphereMQ v7 with Camel 2.13. Spring DSL > I define a "JmsComponent" bean pointing to a MQQueueConnectionFactory > against my application MQ QueueManger. > I'd like to PUT a message to a some other QMgr/Q via my connected > application QMgr. > The WMQ JMS docs show this URI syntax to be "queue://Qmgr/Qname". > So, I tried giving it to the JMS component that way. Normally it just > takes > a string "Qname" > I made it "Qmgr/Qname", but it ended up trying to use that as the actual > queuename itself, assuming local QMgr. Clearly that won't work. > How do I get the component to handle this properly? > > Here is an example of the stmt I'm using: > > <to uri="ibmmq:queue:MYLOCALQUEUENAME"/> (works) > > I tried: > <to uri="ibmmq:queue:MYQMGR/MYREMOTEQUEUENAME"/> (doesn't work) > > Any help greatly appreciated! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMS-Put-to-WebsphereMQ-destionation-using-a-Qmgr-name-how-to-specify-tp5759882.html > Sent from the Camel - Users mailing list archive at Nabble.com. >