Claus Ibsen created CAMEL-20589:
-----------------------------------
Summary: camel-jbang - Make it easy to run activemq with vm
transport
Key: CAMEL-20589
URL: https://issues.apache.org/jira/browse/CAMEL-20589
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Fix For: 4.x
camel-activemq uses tcp:localhost:61616 by default, but we should make it
possible to run via vm embedded instead
camel run
https://github.com/apache/camel/blob/camel-1.0.0/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java
--prop=camel.component.activemq.brokerUrl=vm://localhost
However I get an error
2024-03-20 22:20:33.743 ERROR 11245 --- [r[test.MyQueue]]
.DefaultJmsMessageListenerContainer : Could not refresh JMS Connection for
destination 'test.MyQueue' - retrying using FixedBackOff{interval=5000,
currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport.
Reason: java.io.IOException: Transport scheme NOT recognized: [vm]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)