Thanks Martin No need to apologise - if my post is unclear thats on me - I appreciate you responding.
The error is in attempting to set that value but I am unclear why it should be. I can post messages to the queue without error without this addition - its just that when I do the raw message has a preamble containing (with some unprintable chars in there) RFH 3MQSTR <mcd><Msd>jms_text</Msd></mcd> because of this the client cannot read the message body. I am given to understand that the reason is that this is a wrapper the production of which can be turned off by setting the clientId in this way. On 11 Mar 2011, at 15:37, waterback wrote: > Hi John, > > well i think i haven't understand all of your post... > > But i use sending to Websphere MQ queues from Camel in multiple examples... > From my experience the following in your definition: > > " .setHeader("CamelJmsDestinationName", > constant("queue:///MY_QUEUE?targetClient=1")) " > > is actually not needed, or do you have that for a specific reason? > But from the Error-Message you posted, this could be caused by that > header... > > So, excuse me if i'm totally wrong... > > Cheers, > Martin > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Bridging-from-JMS-to-Websphere-tp3425020p3425259.html > Sent from the Camel - Users mailing list archive at Nabble.com.