Completion to the above:
In further attempts to get rid of the RFH2 header, I tried the following:
Use jms:endpoint instead of jms:provider in the XBean file. Using jms:endpoint, I can access the jmsProviderDestinationName attribute. This attribute (as of the servicemix-jms source code) is used internally when the BC does its session.createQueue(..) calls.
I try to set the jmsProviderDestinationName to the following MQ URL:
I've also tried specifying the Queue Manager, thus including it in the URL as follows:
Though, it does not work. I'm running out of ideas now, does anyone have any further ideas?
I am encountering the exact same issue. There doesn't seem to be a way to get a hold of the targetClient property in the xbean. Has anyone had luck doing this?