You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Zaq Avila <za...@gmail.com> on 2014/06/18 00:17:35 UTC

ActiveMQ FailedToResolveEndpoint

Hi,

I keep getting this error when I execute a route. The route executes fully
and the results are as expected, however, this
FailedToResolveEndpointException is throwing me off. Could it be a bug?

I looked at the code for the exception and it points to what is supposed to
be a uri however the error points towards the body of the exchange. Here is
the stack trace:

INFO | ID-mac-msts-MacBook-Pro-local-52358-1403042028998-0-32 >>> (route4)
from(activemq://topic:VirtualQueueConsumer.FinallyTopic) -->
activemq://topic:zaq.avila?disableReplyTo=true <<< Pattern:InOnly,
Headers:{JMSTimestamp=1403042420346,
breadcrumbId=ID-mac-msts-MacBook-Pro-local-52358-1403042028998-0-27,
JMSType=null, JMSDestination=topic://VirtualQueueConsumer.FinallyTopic,
JMSExpiration=0, JMSPriority=4, JMSReplyTo=null, JMSXGroupID=null,
JMSCorrelationID=Camel-ID-mac-msts-MacBook-Pro-local-52358-1403042028998-0-30,
CamelJmsDeliveryMode=2, JMSRedelivered=false, JMSDeliveryMode=2,
JMSXUserID=null,
JMSMessageID=ID:mac-msts-MacBook-Pro.local-52356-1403041997371-4:780:1:1:1},
BodyType:String,
Body:{"event":"on","execTime":"2004","who":"activemq:topic:FinallyTopic"}
ERROR | Failed delivery for (MessageId:
ID-mac-msts-MacBook-Pro-local-52358-1403042028998-0-27 on ExchangeId:
ID-mac-msts-MacBook-Pro-local-52358-1403042028998-0-28). Exhausted after
delivery attempt: 1 caught:
org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: {"event":"on" due to: Illegal character in scheme name at index
0: %7B%22event%22:%22on%22

Thank you,
Zaq