I'm trying to create a TestCase where I can send/receive messages to/from an Apache ActiveMQ queue. (wanting to make sure my assets are good before trying to record)
I've setup all of my assets (JNDI Initial Context, Connection Factory, Destination, Session, Consumer, Producer) and verified the assets function.
I've configured my JMS Send Receive step as ::
Whenever I click the "green" arrow to execute the step, I get the following output and error ::
Executing step
Autopopulated JMS Producer with MyProducer (JMS Message Producer)
Autopopulated JMS Producer.JMS Session with MySession (JMS Session)
Autopopulated JMS Producer.JMS Session.Connection with MyConnectionFactory (JMS Connection)
Adjusting Runtime Scopes
Autopopulated JMS Consumer with consumer:MyQueue@MyConnectionFactory (JMS Message Consumer)
Adjusting Runtime Scopes
Adjusting Runtime Scopes
Opening JNDI context with URL: tcp://localhost:61616
Performing JNDI lookup with name: ConnectionFactory
Creating JMS Connection
Starting JMS Connection
Creating JMS Session
Performing JNDI lookup with name: dynamicQueues/example.MyQueue
Creating JMS Consumer on Queue example.MyQueue
Creating JMS Producer
Creating JMS Text Message
Writing JMS Message Headers
Writing JMS Message Properties
Closing JMS Producer
Closing JMS Consumer
Closing JMS Session
Stopping JMS Connection
Closing JMS Connection
Unexpected error: org/fusesource/hawtbuf/UTF8Buffer
java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/UTF8Buffer
at org.apache.activemq.command.ActiveMQMessage.setObjectProperty(ActiveMQMessage.java:500)
at org.apache.activemq.command.ActiveMQMessage.setObjectProperty(ActiveMQMessage.java:488)
at org.apache.activemq.command.ActiveMQMessage.setStringProperty(ActiveMQMessage.java:735)
at com.itko.lisa.messaging.asset.payload.AbstractJmsMessagePayload.setHeadersAndProperties(AbstractJmsMessagePayload.java:494)
at com.itko.lisa.messaging.asset.payload.AbstractJmsMessagePayload.createInstance(AbstractJmsMessagePayload.java:423)
at com.itko.lisa.messaging.asset.payload.AbstractJmsMessagePayload.createInstance(AbstractJmsMessagePayload.java:67)
at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:197)
at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:68)
at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:152)
at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:176)
at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)
at com.itko.lisa.asset.operation.AbstractOperationStepEditor$ExecuteTask.run(AbstractOperationStepEditor.java:575)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:116)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:98)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Has anyone else ever seen this error before when trying to run the JMS Send Receive step against an ActiveMQ queue?