Discussion:
Adding ActiveMQ destinationPathSeperator plugin in tomee.xml
Abhishek
2018-08-07 10:35:00 UTC
Permalink
Hi,

I am using stomp over ActiveMQ (embedded). I added the required
activemq-stomp jar to enable stomp. But stomp uses /topic/foo/bar format to
represent topic which is not in sync with JMS topic foo.bar. ActiveMQ has
destinationPathSeparatorPlugin to convert the names from different
protocols. How can I add this plugin to tomee's embedded broker. Below is my
tomee.xml.

<?xml version="1.0" encoding="UTF-8"?>
<tomee>
<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
# Start the embedded ActiveMQ broker with Stomp
BrokerXmlConfig =
broker:(stomp://127.0.0.1:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600)
ServerUrl = failover:(tcp://127.0.0.1:61613)
</Resource>

<Resource id="MyJmsConnectionFactory"
type="javax.jms.ConnectionFactory">
ResourceAdapter = MyJmsResourceAdapter
</Resource>
</tomee>



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
Loading...