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/01/31 11:41:00 UTC
[jira] [Assigned] (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 reassigned CAMEL-13145:
----------------------------------------
Assignee: Andrea Cosentino
> 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
>
>
> 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}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)