You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mikmela <mi...@yahoo.com> on 2013/02/26 17:47:23 UTC

What are limitations/restrictions on destination name?

What are limitations/restrictions on a destination name in terms of special
characters usage, unicode characters and the max length? Any standard
specification it should confirm to?



--
View this message in context: http://activemq.2283324.n4.nabble.com/What-are-limitations-restrictions-on-destination-name-tp4664141.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: What are limitations/restrictions on destination name?

Posted by mikmela <mi...@yahoo.com>.
OK, I've testest some use cases... This list is far from being
comprehensive... Looks like only destination names containing "?" that are
accepted by JMS api, will have issues as ActiveMQ parses destination name as
URI string. Consequently, “?” is removed and everything after it is treated
as query params.                   

   

     	destination name 
     	ActiveMQ name
   
   

     	"?test?.jms.spec.que?"
     	 Message ID:dev1467-56629-1362089194289-3:1:1:1:1 sent to queue://

   
   

     	"?test.jms.spec.que"
     	Message ID:dev1467-56629-1362089194289-9:1:1:1:2 sent to queue://

   
   

     	"test?.jms.spec.que?"
     	Message ID:dev1467-56629-1362089194289-13:1:1:1:2 sent to queue://test

   
   

     	"#test#.jms.spec.que#"
     	Message ID:dev1467-56629-1362089194289-17:1:1:1:2 sent to
queue://#test#.jms.spec.que#
   

"\test.jms.spec.que" 
Message ID:dev1467-56629-1362089194289-19:1:1:1:2 sent to
queue://est.jms.spec.que



"\\test.jms.spec.que"
Message ID:dev1467-56629-1362089194289-25:1:1:1:3 sent to
queue://\test.jms.spec.que



"test.jms.spec.que\\"
Message ID:dev1467-56629-1362089194289-33:1:1:1:2 sent to
queue://test.jms.spec.que\



"/test.jms.spec.que"
Message ID:dev1467-56629-1362089194289-37:1:1:1:2 sent to
queue:///test.jms.spec.que



 
 	                                      
		 		
			 



--
View this message in context: http://activemq.2283324.n4.nabble.com/What-are-limitations-restrictions-on-destination-name-tp4664141p4664275.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re:What are limitations/restrictions on destination name?

Posted by SuoNayi <su...@163.com>.
Here is the section about destination in the JMS 1.1 Specification:
JMS does not define a standard address syntax. Although this was considered, 
it was decided that the differences in address semantics between existing 
enterprise messaging products was too wide to bridge with a single syntax. 
Instead, JMS defines the  Destination  object which encapsulates provider-specific addresses.


For activemq, Wildcards is supported,
http://activemq.apache.org/wildcards.html





At 2013-02-27 00:47:23,mikmela <mi...@yahoo.com> wrote:
>What are limitations/restrictions on a destination name in terms of special
>characters usage, unicode characters and the max length? Any standard
>specification it should confirm to?
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/What-are-limitations-restrictions-on-destination-name-tp4664141.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.