camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: Not display message in active mq
Date Mon, 11 Nov 2013 03:10:03 GMT
How did you send the message to ActiveMQ?


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Friday, November 8, 2013 at 9:19 PM, Rajalakshmi Raman wrote:

> 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 (http://Nabble.com).




Mime
View raw message