camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <>
Subject Re: not set correct on Activemq + Spring Boot
Date Fri, 26 May 2017 16:38:26 GMT
Hi Claus

The example is now head, and I just wanted to follow up on this in regards
to where the change to the
ActivemqComponent was introduced.

IMHO if you are using SB starters you would expect the activemq autowirering
to work how it's described on

If you want to override cf autowirering with eg. a xml configuration it
seems that all configuration should be present in the xml eg. ->

 <bean primary="true" id="jmsConnectionFactory"
    <property name="brokerURL" value="tcp://localhost:1234" />

  <bean id="pooledConnectionFactory"
    init-method="start" destroy-method="stop">
    <property name="maxConnections" value="8" />
    <property name="connectionFactory" ref="jmsConnectionFactory" />

  <bean id="jmsConfig"
    <property name="connectionFactory" ref="pooledConnectionFactory" />
    <property name="concurrentConsumers" value="10" />

  <bean id="activemq"
    <property name="configuration" ref="jmsConfig" />

And then have a SB configuration bean like

@ImportResource(locations = "classpath:amq.xml")
public class SampleAutowiredAmqRoute extends RouteBuilder {

IMHO I think the commit
should be reverted, or do you see a better solution ?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message