Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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]