You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2019/03/01 13:25:00 UTC

[jira] [Updated] (CAMEL-13145) ActiveMQ reports wrong number of arguments

     [ https://issues.apache.org/jira/browse/CAMEL-13145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino updated CAMEL-13145:
-------------------------------------
    Fix Version/s: 3.0.0-M1

> ActiveMQ reports wrong number of arguments
> ------------------------------------------
>
>                 Key: CAMEL-13145
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13145
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-activemq
>            Reporter: Thomas Diesler
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0-M1
>
>
> With a simple route definition like this 
> {code}
>         CamelContext camelctx = new DefaultCamelContext();
>         camelctx.addRoutes(new RouteBuilder() {
>             @Override
>             public void configure() throws Exception {
>                 from("direct:start").
>                 transform(simple("Hello ${body}")).
>                 toF("activemq:queue:%s?connectionFactory=java:/ActiveMQConnectionFactory", QUEUE_NAME);
>             }
>         });
> {code}
> I see
> {code}
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: activemq://queue:testQueue?connectionFactory=java%3A%2FActiveMQConnectionFactory due to: java.lang.IllegalArgumentException: wrong number of arguments
> 	at org.wildfly.camel.test.activemq.ActiveMQIntegrationTest.testSendMessage(ActiveMQIntegrationTest.java:125)
> Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: wrong number of arguments
> 	at org.wildfly.camel.test.activemq.ActiveMQIntegrationTest.testSendMessage(ActiveMQIntegrationTest.java:125)
> Caused by: java.lang.IllegalArgumentException: wrong number of arguments
> 	at org.wildfly.camel.test.activemq.ActiveMQIntegrationTest.testSendMessage(ActiveMQIntegrationTest.java:125)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/2763



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)