You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2019/01/30 14:24:00 UTC
[jira] [Created] (CAMEL-13145) ActiveMQ reports wrong number of
arguments
Thomas Diesler created CAMEL-13145:
--------------------------------------
Summary: 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
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)