• 1 reply
  • Latest Post - ‏2013-09-25T10:13:19Z by BharathiManian
1 Post

Pinned topic Issue while creating JMS Endpoint

‏2013-09-03T17:00:04Z | 6.3 activemq cast endpoint iron jms


I am trying to connect Cast Iron (version 6.3) to Apache MQ based JMS implementation. I have followed the step mentioned in this link and able to test the connection successfully:

I have added below jars in the install module provider for JMS:

  1. activemq-core-5.5.0.jar
  2. activemq-protobuf-1.1.jar
  3. commons-collections-3.2.1.jar
  4. commons-lang3-3.1.jar
  5. geronimo-j2ee-management_1.1_spec-1.0.1.jar
  6. jms-api-1.1-rev-1.jar
  7. log4j-1.2.14.jar
  8. slf4j-api-1.6.1.jar
  9. slf4j-log4j12-1.6.1.jar

I have created an orchestration having a single Subscribe Message activity for created JMS endpoint. When I try running the orchestration I am getting the below error in the log

Sep 3, 2013 10:13:07 PM startAndWait
SEVERE: maestro.err.loader.start
java.lang.ClassCastException: org.apache.activemq.command.ActiveMQQueue incompatible with javax.jms.Topic
    at com.approuter.module.jms.activity.JmsSubscriber.startSubscriber(
    at com.approuter.module.jms.activity.JmsSubscriber.activate(
    at com.approuter.maestro.activities.BaseModule.activate(
    at com.approuter.maestro.vm.Program.start(
    at com.approuter.maestro.vm.Kernel.startOrchestration(

[Deatail log attached]

It seems this issue is coming because of jars, but I am not able to figure out this.

Please let me know what could be the possible issue in this configuration.




  • BharathiManian
    29 Posts

    Re: Issue while creating JMS Endpoint


    What version of ActiveMQ are you using? If you are using Active MQ 5.8,only the jar activemq-all-5.8.0.jar is needed.

    While configuring the activity dynamicTopics/<topic name> needs to be specified.Also we need to specify the client id.