Forum Discussion
Hi Mina,
when you said:
“You can also install activeMq to test the snaps out as you will be the admin and can check everything there.”
So i have istalled activemq and it works with the following java code:
My producer and consumer work as intended in the website.
Now what is the relation with snaplogic?
How can i test my snaplogic with activemq?
Or maybe i misunderstood your tip.
part of java code:
public class Consumer {
// URL of the JMS server
private static String url = ActiveMQConnection.DEFAULT_BROKER_URL;
// default broker URL is : tcp://localhost:61616"// Name of the queue we will receive messages from
private static String subject = “PASCAL-MESSAGE-1”;
Thank you
- mina6 years agoEmployee
You can edit the jms consumer or producer snap>Account>Add Account>JMS account then fill out the fields as shown in my example below.
As long as the Groundplex node can access your queue, the snaps will as well.
My jcc node is on the same host so I used 127.0.0.1.