What is the camel syntax for sending to a queue bean? I cannot find it in the documentation or examples.
My queue bean is defined: <bean id="testMQdest" class="com.ibm.mq.jms.MQQueue"> <constructor-arg index="0" value="AMQ.TEST.Q"/> <property name="targetClient" value="1" /> </bean> I would figure the camel route should be something like (This doesn't work): <camelContext id="camel"> <route> <from uri="mqin:INQ"/> <to ref="testMQdest"/> </route> </camelContext> James.Strachan wrote: > > 2008/12/4 Stephen J <[EMAIL PROTECTED]>: >> >> I am working on a project that uses ActiveMQ to broker messages between >> Websphere MQ queues. These MQ queues are then read by legacy MQ clients. >> I >> have found that when ActiveMQ passes a message to a Websphere MQ it uses >> JMS >> by default, thus causing extra information to be added to the message >> body. >> Because the clients are legacy MQ clients they do not filter the extra >> information added to the body as a JMS client would. >> >> Therefor, I need to be able to set the targetClient property of the MQ >> queue >> destination to 1 in order to send in default MQ format. >> >> Can anyone tell me how to set up my destination queue so that I can set >> the >> targetClient property? >> >> I have looked at the Spring forums and they show how to configure the mq >> queue bean, but I can't figure out how to tell ActiveMQ to use that bean >> as >> a destination. >> >> Thanks to anyone who has suggestions. > > Try using Camel to route to MQ? Then you can reuse the same queue bean > that the spring forums describe how to use? > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > -- View this message in context: http://www.nabble.com/Interfacing-with-legacy-Websphere-MQ-clients-tp20835055p20835267.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.