[
https://issues.apache.org/jira/browse/AMQ-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-4327.
-----------------------------
Resolution: Not A Problem
You need to place the activemq-xmpp jar into the classpath so that the
transport's factory finder file is available.
Note that XMPP module is deprecated and will be removed in v5.9
> XMPP Connector does not work with ActiveMQ 5.7
> ----------------------------------------------
>
> Key: AMQ-4327
> URL: https://issues.apache.org/jira/browse/AMQ-4327
> Project: ActiveMQ
> Issue Type: Bug
> Components: Transport
> Affects Versions: 5.7.0
> Environment: Windows
> Reporter: lokesh
> Fix For: 5.x
>
>
> Hi,
> When I send a message to xmpp queue. I get the following exception. I am
> using activemq version 5.7
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> Caught: javax.jms.JMSException: Could not create Transport. Reason:
> java.io.IOException: Transport scheme NOT recognized: [xmpp]
> javax.jms.JMSException: Could not create Transport. Reason:
> java.io.IOException: Transport scheme NOT recognized: [xmpp]
> at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:252)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:265)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:238)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:184)
> at App$HelloWorldProducer.run(App.java:41)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Transport scheme NOT recognized: [xmpp]
> at
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
> at
> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:196)
> at
> org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:66)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:250)
> ... 5 more
> Caused by: java.io.IOException: Could not find factory class for resource:
> META-INF/services/org/apache/activemq/transport/xmpp
> at
> org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.loadProperties(FactoryFinder.java:96)
> at
> org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.create(FactoryFinder.java:58)
> at
> org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:146)
> at
> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:193)
> ... 7 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira