2 Replies Latest reply on Feb 9, 2016 3:57 PM by Marc Anthony Puca

    wildfly 10 - activemq remote consumer

    Marc Anthony Puca Newbie

      Hi Everyone

       

      I have recently migrated to 2 wildfly 10 instances from wildfy 8.2.0 and wildfly 9.0.1. Before migration I had an mdb that consumed from a remote queue with following setup

       

      wildfly 9 had mdb with:

       

       

              @ActivationConfigProperty(propertyName = "destination",

                                        propertyValue = "qjndi"),

              @ActivationConfigProperty(propertyName = "destinationType",

                                        propertyValue = "javax.jms.Queue"),

              @ActivationConfigProperty(propertyName = "maxSession",

                                        propertyValue = "4"),

              @ActivationConfigProperty(propertyName = "user",

                                        propertyValue = "user"),

              @ActivationConfigProperty(propertyName = "password",

                                        propertyValue = "password"),

              @ActivationConfigProperty(propertyName = "transactionTimeout",

                                        propertyValue = "180"),

              @ActivationConfigProperty(propertyName = "connectionParameters",

                                        propertyValue = "host=host;port=8080;http-upgrade-enabled=true"),

              @ActivationConfigProperty(propertyName = "connectorClassName",

                                        propertyValue = "org.hornetq.core.remoting.impl.netty.NettyConnectorFactory"),

       

       

      After the upgrade, having reviewed the config to make it compatible with artemis I changed the connectorClassName to

       

      org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory

       

      but if refuses to connect

       

      AMQ152005: Failure in broker activation org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec(ra=org.apache.activemq.artemis.ra.ActiveMQResourceAdapter@78712571 destination=MyQueue destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=user password=**** maxSession=4): ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ119013: Timed out waiting to receive cluster topology. Group:null]

       

      any suggestions

       

      Thanks

       

      Marc