AnsweredAssumed Answered

Boomi - JMS Send Message Issues

Question asked by saswatapurohit1@kpmg.com on Sep 12, 2018

Hi,

We are in middle of setting up Boomi to be used with Apache ActiveMQ but we are facing the following issue while sending messages on a queue. Setup: • The ActiveMQ server is accessible and gets connected through Generic JNDI as well as the ActiveMQ dropdown option in the JMS Connector • The connection factory is setup properly and if provided with the incorrect connection factory we do see the appropriate error message as to “ConnectionFactory” not found • While sending message to a queue using is JNDI name we get the following exception • javax.naming.NameNotFoundException: botUtilities at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235) at javax.naming.InitialContext.lookup(Unknown Source) at com.boomi.connector.jms.adapter.JndiAdapter.createDestination(JndiAdapter.java:52) at com.boomi.connector.jms.JMSUtil.createTrackedProducer(JMSUtil.java:268) at com.boomi.connector.jms.JMSSend.processBatch(JMSSend.java:117) at com.boomi.connector.jms.JMSSend.sendMessages(JMSSend.java:62) at com.boomi.connector.jms.JMSSend.send(JMSSend.java:39) at com.boomi.connector.custom.CustomSendConnectorAction.invoke(CustomSendConnectorAction.java:60) at com.boomi.connector.base.BaseConnectorAction.invokeBase(BaseConnectorAction.java:364) at com.boomi.connector.base.BaseConnectorAction.invokeWithReadStore(BaseConnectorAction.java:303) at com.boomi.connector.base.BaseConnectorAction.invoke(BaseConnectorAction.java:275) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.boomi.util.ClassUtil$InvokerWithClassLoader.invoke(ClassUtil.java:369) at com.sun.proxy.$Proxy32.invoke(Unknown Source) at com.boomi.process.shape.ConnectorShapeHandler.execute(ConnectorShapeHandler.java:152) at com.boomi.process.shape.ConnectorShape.execute(ConnectorShape.java:144) at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:559) at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:489) at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:573) at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:510) at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:573) at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:308) at com.boomi.process.ProcessExecution.call(ProcessExecution.java:814) at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:936) at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61) at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:158) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) • We are able to send message on dynamic queues using dynamicQueues/ as the destination o But we have to use static queues as the listeners would listen on the same • Steps we tried for troubleshooting o Used a different version of ApacheMQ (5.4.1 -> as specified in the Boomi documentation) o Uploaded appropriate JARs using the steps specified in the Boomi documentation o Tried connecting to the ApacheMQ server using alternative JMS connector (TIBCO) which worked fine o Tried connecting to the ApacheMQ JNDI server using JNDI Warrior which loads the ConnectionFactory objects successfully Please direct as to what could be the issue considering this to be a basic JMS connection functionality. Let us know if you need more data or inputs from our end.

Outcomes