I'm using qpid-client-6.0.4 to send messages to RabbitMQ 3.6.5.
In JNDI if I define topic.name the message is delivered successfully. Based
on the documentation this translates to
destination.name=topic://amq.topic/<topic name>/?routingkey=<topic name>.
Since the production version of the system I'm sending messages to does not
have binding from amq.topic to the queue I'll need to define destination
explicitly.
When trying with destination.myq =
topic://xxx.xxx.exchange/xxx.xxx.ae.q/?routingkey=xxx.xxx.ae.q I receive
following error:
javax.naming.ConfigurationException: Failed to parse entry:
topic://xxx.xxx.exchange/xxx.xxx.ae.q/?routingkey=xxx.xxx.ae.q
due to : unrecognized characters
line:1,38:topic://xxx.xxx.exchange/xxx.xxx.ae.q/?routingkey=xxx.xxx.ae.q
[Root exception is
org.apache.qpid.messaging.util.LexError: unrecognized characters
line:1,38:topic://xxx.xxx.exchange/xxx.xxx.ae.q/?routingkey=xxx.xxx.ae.q]
First I was using the Qpid Client from 3rd party software. However I can
reproduce the error by using destination with ? with the provided Hello
sample. And it's the same error even if I use the default amq.topic exchange
and topic name that works with topic.name in JDNI.
Do I need to encode or provide the destination in a different format that
does not include the ? character?
Thanks,
Timo
--
View this message in context:
http://qpid.2158936.n2.nabble.com/Unrecognized-characters-when-defining-destination-with-in-JDNI-tp7651481.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]