I'm new in Websphere MQ and trying to learn integration between ActiveMQ and IBM Websphere MQ. I couldn't find any proper tutorial or couldn't understand how to do it.
What I want to do: I want to trigger a XML to JSON transformed message from IBM MQ to ActiveMQ. From MQ Explorer, I was successful in creating "Initial Context", located the .jar file. When I'm trying to create a "connectionFactory", its giving me an error.
Also I read here about jndi.properties
but can't figure out where to keep the .properties
file. Though I want to keep things dynamic (want to ignore the .properties
file) but it might be helpful for me someday.
Thanks in advance!
If you are using esql, I'm assuming you are using IIB. The first step to get the message from IBM MQ is either use a MQInput or MQRead node.
Once done, you do your transformation with ESQL (apparently) or any other compute node.
To post to ActiveMQ, it's a different story. IIB doesn't have any "native node" to do it, so in my opinion the best solution is to use a Java Compute node (don't forget to correctly import the ActiveMQ jars into IIB shared-classes) and do it from there.
But for the MQExplorer and the bindings (factory, destination, ...) it is used by client application to connect to IBM MQ. I don't see any reason to have it in your case (if you use it to connect from IIB, please stop immediately)
I feel like you have a lack of knowledge of the tools you are using, so I would recommend you to get back to the basics (or I miss understood your question). In addition, you have not even mentioned IIB in your question, which is the main component in your problem, so next time try to detail your question with as much information as you can.