[ 
https://issues.apache.org/jira/browse/CAMEL-20589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17829589#comment-17829589
 ] 

Claus Ibsen commented on CAMEL-20589:
-------------------------------------

You can now set embedded=true on activemq component

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.5.0
>
>
> 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)

Reply via email to