I was trying to use the openmq 4.4 instead of the activemq in servicemix.
After starting the openmq embedded broker, I don't know how to connect to
the broker. The following snippet is fetched from the servicemix.xml,
javax.jms.JMSException: Could not create Transport. Reason:
java.io.IOException: Transport scheme NOT recognized: [http] will be thrown.

<sm:broker>
      <sm:securedBroker authorizationMap="#authorizationMap">
        <sm:flows>
          <sm:sedaFlow />
          <sm:jmsFlow jmsURL="http://127.0.0.1:61617"; />
          <sm:jcaFlow connectionManager="#connectionManager"
                      jmsURL="http://127.0.0.1:61617"; />
        </sm:flows>
      </sm:securedBroker>
    </sm:broker>

If I use "tcp://127.0.0.1:61617" as the url,
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in class path resource [servicemix.xml]
: Invocation of init method failed; nested exception is
javax.jbi.JBIException: javax.jms.JMSException: Channel was inactive for too
long: /127.0.0.1:61617 will be thrown.

If I remove the url, java.net.ConnectException: Connection refused: connect
javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost:61616. Reason: java.net.ConnectException: Connection
refused: connect will be thrown.

Anybody know how to do it?
-- 
View this message in context: 
http://old.nabble.com/how-to-replace-the-activemq-with-openmq-tp27416254p27416254.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to