I tried to send messages from active mq to browser. But it is not even
passing to active mq. I am getting error like this.

Nov 08, 2013 6:38:32 PM
org.springframework.jms.connection.SingleConnectionFacto
ry initConnection
INFO: Established shared JMS Connection: ActiveMQConnection
{id=ID:D-113062837-5
5494-1383916111920-1:1,clientId=null,started=false}

I defined active mq url in application.properties.
broker.url=tcp://localhost:61616
broker.queue=corsoft.BroadcastMessageQueue

cometd.channel=cometd://0.0.0.0:9099/broadcastMessageChannel

In camel context route defined as

<from uri="activemq://queue:{{broker.queue}}"/>
<log message="Incoming Message - distribute via Cometd" loggingLevel="INFO"
/>
                        
                        <aggregate strategyRef="aggregatorStrategy" 
completionTimeout="3000">
            <correlationExpression>
                <simple>header.id</simple>
            </correlationExpression>
                        <to uri="{{cometd.channel}}" />
                        </aggregate>

In POM.xml i added dependency as
<dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-core</artifactId>
                        <version>${activemq-version}</version>
                </dependency>


     Plz help me to resolve


Thanks, 
Raji



--
View this message in context: 
http://camel.465427.n5.nabble.com/Not-display-message-in-active-mq-tp5742853.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to