Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
In this document I will focus one "Qpid JMS 0.20.0" - the current version.
/opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/1.cer -keystore azureTruststore.jks -alias "D-TRUST Root Class 3 CA 2 2009" /opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/2.cer -keystore azureTruststore.jks -alias “D-TRUST SSL Class 3 CA 1 2009” /opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/3.cer -keystore azureTruststore.jks -alias “servicebus.cloudapi.de”
/opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/1.cer -keystore azureTruststore.jks -alias "D-TRUST Root Class 3 CA 2 2009" /opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/2.cer -keystore azureTruststore.jks -alias “D-TRUST SSL Class 3 CA 1 2009”
/opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/2.cer -keystore azureTruststore.jks -alias “D-TRUST SSL Class 3 CA 1 2009”
/opt/webMethods9/jvm/jvm/bin/keytool -import -file /opt/webMethods9/IntegrationServer/instances/default/packages/DEV_fse/resources/3.cer -keystore azureTruststore.jks -alias “servicebus.cloudapi.de”
# servicebus.properties - sample JNDI configuration # Register a ConnectionFactory in JNDI using the form: # connectionfactory.[jndi_name] = [ConnectionURL] connectionfactory.SBCF = amqps://XXXXXX.servicebus.cloudapi.de?jms.username=xxxxx&jms.password=xxxxxxx&amqp.idleTimeout=120000&jms.receiveLocalOnly=true&transport.trustStoreLocation=/opt/webMethods9/IntegrationServer/config/certs/trusted/azureTruststore.jks # Register some queues in JNDI using the form # queue.[jndi_name] = [physical_name] # topic.[jndi_name] = [physical_name] queue.QUEUE = myqueue
The only two important values are:
The rest can be left on default values. After saving you can try to enable the connection. Basically at this point two things could have gone wrong:
7.Test the Connection You should now be able to create an ordinary JMS-Listener in Designer. Just pick your JMS-Connection Alias (e.g. “QPID”) and the JNDI-lookup name of your queue (e.g. “QUEUE”). For ease of use you might want to pick “pub.flow:tracePipeline” as the service to process incoming messages. Then write a simple service that publishes a JMS-message to the queue. When invoking “pub.jms:send” you need to set:
By running the service you should be able to send a message to the Service Bus queue and your Trigger should receive it and invoke “tracePipeline”, so you can see the round-tripped message in your “server.log”.
Further Read: Check out the latest version of Microsoft Azure Service Bus here: Microsoft Azure Service BusLearn step-by-step how to configure an Azure Serive Bus account in webMethods.io Integration workflow: Configuring Azure ServiceBus account in webMethods.io Integration Workflow
Further Read: