activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Redhead <>
Subject ActiveMQ 5.6.0 - STOMP topics treated as queues if there is a space after 'destination: '
Date Wed, 11 Jul 2012 15:14:51 GMT

I have spotted an oddity when subscribing to STOMP topics in ActiveMQ 5.6.0.

In version 5.5.1 (and those prior), a space after the colon in the
destination header was ignored. ie
destination: /topic/test
were both treated as the same.

However, in version 5.6.0 the latter is treated as a queue with the name

Is this intentional?

I appreaciate that the augmented BNF states that there is no space after the
':' but it seems a bit odd to convert the topic to a queue. Surely an error
frame would be more suitable?
The use of a space was not mentioned in version 1.0 of the STOMP spec, so
this is causing some odd behaviour with older libraries.

Attached are the results of some quick tests showing differences between the
two versions of ActiveMQ.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message