AnsweredAssumed Answered

Boomi - JMS Send Message Issues

Question asked by on Sep 12, 2018


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( at javax.naming.InitialContext.lookup(Unknown Source) at com.boomi.connector.jms.adapter.JndiAdapter.createDestination( at com.boomi.connector.jms.JMSUtil.createTrackedProducer( at com.boomi.connector.jms.JMSSend.processBatch( at com.boomi.connector.jms.JMSSend.sendMessages( at com.boomi.connector.jms.JMSSend.send( at com.boomi.connector.custom.CustomSendConnectorAction.invoke( at com.boomi.connector.base.BaseConnectorAction.invokeBase( at com.boomi.connector.base.BaseConnectorAction.invokeWithReadStore( at com.boomi.connector.base.BaseConnectorAction.invoke( 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( at com.sun.proxy.$Proxy32.invoke(Unknown Source) at com.boomi.process.shape.ConnectorShapeHandler.execute( at com.boomi.process.shape.ConnectorShape.execute( at com.boomi.process.graph.ProcessShape.executeShape( at com.boomi.process.graph.ProcessGraph.executeShape( at com.boomi.process.graph.ProcessGraph.executeNextShapes( at com.boomi.process.graph.ProcessGraph.executeShape( at com.boomi.process.graph.ProcessGraph.executeNextShapes( at com.boomi.process.graph.ProcessGraph.execute( at at at at at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at 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.