[ 
https://issues.apache.org/jira/browse/CAMEL-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648221#comment-13648221
 ] 

Claus Ibsen commented on CAMEL-6319:
------------------------------------

Yeah mock endpoint only support the options it lists
http://camel.apache.org/mock

When using advice with its logged at INFO level what the mock uri is
{code}
INFO  ceptSendToMockEndpointStrategy - Adviced endpoint 
[activemq://topic:integrations?allowNullBody=false&asyncConsumer=true&concurrentConsumers=10&jmsMessageType=Map&preserveMessageQos=true]
 with mock endpoint [mock:activemq:topic:integrations]
{code}
                
> Not possible to advice activemq endpoint with options
> -----------------------------------------------------
>
>                 Key: CAMEL-6319
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6319
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.11.0
>            Reporter: Per Jørgen Walstrøm
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.1
>
>         Attachments: applicationContext-failingAdviceTest.xml, 
> FailingAdviceTest.java, FailingAdviceTest.java
>
>
> I'm currently trying to advice an Endpoint which has a rather lengthy 
> options-part:
> activemq:topic:integrations?allowNullBody=false&asyncConsumer=true&jmsMessageType=Map&preserveMessageQos=true&concurrentConsumers=10
> this fails when doing mockEndpointsAndSkip with the above String
> without the options, the advice is no problem
> see attached unit test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to