I am trying to create a JMS bridge which bridges a IBM MQ queue (source) and a JBoss Messaging topic (= target).
I installed the IBM MQ stuff via an JCA adapter and I am able to read a message from it via a MDB.
After that I removed the MDB and put a JMS bridge in stead so the bridge can send the incoming
message from the IBM MQ queue to the (internal) JBoss topic.
This is not working. I get the following exception:
com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1031: The method can only be called in the application client container. The application was not running in the application client container when this method was called. Ensure that the application runs in the application client container, or modify the application to avoid this method call.
at java.lang.Thread.run(Unknown Source)
Did anyone seen this error before? And how I can solve this?
I will send some config files later if needed (I am not at work at the moment).
With kind regards,