Skip Menu |

This queue is for tickets about the Net-Stomp CPAN distribution.

Report information
The Basics
Id: 52392
Status: resolved
Priority: 0/
Queue: Net-Stomp

People
Owner: Nobody in particular
Requestors: aff [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.34
Fixed in: (no value)



Subject: activemq.xml needs update
It is unclear which version of ActiveMQ a given version of Net::Stomp corresponds to. I assume that ActiveMQ has moved forward a few releases since the last release of Net::Stomp. The latest ActiveMQ version 5.3.0 seems to require minor changes in the configuration found in the pod section in Stomp.pm A patch is attached. Thanks
Subject: Stomp.pm.0.34.patch
diff --git a/lib/Net/Stomp.pm b/lib/Net/Stomp.pm index 355c2be..6c3c36d 100644 --- a/lib/Net/Stomp.pm +++ b/lib/Net/Stomp.pm @@ -154,9 +154,10 @@ For details on the protocol see L<http://stomp.codehaus.org/Protocol>. To enable the ActiveMQ Broker for Stomp add the following to the activemq.xml configuration: - <connector> - <serverTransport uri="stomp://localhost:61613"/> - </connector> + <!-- ActiveMQ 5.3.0 --> + <transportConnectors> + <transportConnector name="stomp" uri="stomp://localhost:61616"/> + </transportConnectors> For details on Stomp in ActiveMQ See L<http://www.activemq.org/site/stomp.html>.
This appears to have been done already at some point in the past.