Consuming advisory messages in camel.

View: New views
5 Messages — Rating Filter:   Alert me  

Consuming advisory messages in camel.

by Eric Bouer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.
I can't figure out how to consume advisory messges in camel.
Using simple java code I would use AdvisoryConsumer that can provide me details about the advisory message (Advisory type).
Simply consuming from("activemq:topic:ActiveMQ.Advisory.Producer.Queue.MyQueue").to(someprocess())
doesn't help me figure out the Advisory type.
Is it supported ?
Thanks.

Re: Consuming advisory messages in camel.

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 11, 2009 at 4:43 PM, Eric Bouer<ericbouer@...> wrote:
>
> Hello.
> I can't figure out how to consume advisory messges in camel.
> Using simple java code I would use AdvisoryConsumer that can provide me
> details about the advisory message (Advisory type).
> Simply consuming
> from("activemq:topic:ActiveMQ.Advisory.Producer.Queue.MyQueue").to(someprocess())
> doesn't help me figure out the Advisory type.
> Is it supported ?
Hi

What happens when you consume this advisor queue?

Camel is basically just leveraging Spring JMS. So if you could get it
to work with plain Spring JMS then we have something to look into.
But to my knowledge there is no special code in there to support Advisory.



> Thanks.
>
> --
> View this message in context: http://www.nabble.com/Consuming-advisory-messages-in-camel.-tp23982716p23982716.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Consuming advisory messages in camel.

by Eric Bouer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Claus.
This appears to be a very minor issue and not a problem as I thought it was,
I was looking for direct access to AdvisorySupport Like I do with traditional AMQ client:
Destination advisoryDestination = AdvisorySupport.getProducerAdvisoryTopic(destination)
Spring JMS is a solution, I'm wondering if there is another more integrated way of doing so.

Claus Ibsen-2 wrote:
On Thu, Jun 11, 2009 at 4:43 PM, Eric Bouer<ericbouer@gmail.com> wrote:
>
> Hello.
> I can't figure out how to consume advisory messges in camel.
> Using simple java code I would use AdvisoryConsumer that can provide me
> details about the advisory message (Advisory type).
> Simply consuming
> from("activemq:topic:ActiveMQ.Advisory.Producer.Queue.MyQueue").to(someprocess())
> doesn't help me figure out the Advisory type.
> Is it supported ?
Hi

What happens when you consume this advisor queue?

Camel is basically just leveraging Spring JMS. So if you could get it
to work with plain Spring JMS then we have something to look into.
But to my knowledge there is no special code in there to support Advisory.



> Thanks.
>
> --
> View this message in context: http://www.nabble.com/Consuming-advisory-messages-in-camel.-tp23982716p23982716.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Consuming advisory messages in camel.

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 16, 2009 at 4:34 PM, Eric Bouer<ericbouer@...> wrote:

>
> Thanks Claus.
> This appears to be a very minor issue and not a problem as I thought it was,
> I was looking for direct access to AdvisorySupport Like I do with
> traditional AMQ client:
> Destination advisoryDestination =
> AdvisorySupport.getProducerAdvisoryTopic(destination)
> Spring JMS is a solution, I'm wondering if there is another more integrated
> way of doing so.
>

There is a camel-activemq.jar to be used from Camel to use activemq
over the generic camel-jms.jar
So its possible to add features to this .jar for the advisory.

However this .jar is in the AMQ project so I think you should get in
touch with this project as well.
To get their views on this.


>
> Claus Ibsen-2 wrote:
>>
>> On Thu, Jun 11, 2009 at 4:43 PM, Eric Bouer<ericbouer@...> wrote:
>>>
>>> Hello.
>>> I can't figure out how to consume advisory messges in camel.
>>> Using simple java code I would use AdvisoryConsumer that can provide me
>>> details about the advisory message (Advisory type).
>>> Simply consuming
>>> from("activemq:topic:ActiveMQ.Advisory.Producer.Queue.MyQueue").to(someprocess())
>>> doesn't help me figure out the Advisory type.
>>> Is it supported ?
>> Hi
>>
>> What happens when you consume this advisor queue?
>>
>> Camel is basically just leveraging Spring JMS. So if you could get it
>> to work with plain Spring JMS then we have something to look into.
>> But to my knowledge there is no special code in there to support Advisory.
>>
>>
>>
>>> Thanks.
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Consuming-advisory-messages-in-camel.-tp23982716p23982716.html
>>> Sent from the Camel - Users (activemq) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Consuming-advisory-messages-in-camel.-tp23982716p24055681.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Consuming advisory messages in camel.

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Check this blog entry
http://erichauser.net/2009/08/27/groovy-and-camel-for-monitoring-activemq/


On Thu, Jun 11, 2009 at 4:43 PM, Eric Bouer<ericbouer@...> wrote:

>
> Hello.
> I can't figure out how to consume advisory messges in camel.
> Using simple java code I would use AdvisoryConsumer that can provide me
> details about the advisory message (Advisory type).
> Simply consuming
> from("activemq:topic:ActiveMQ.Advisory.Producer.Queue.MyQueue").to(someprocess())
> doesn't help me figure out the Advisory type.
> Is it supported ?
> Thanks.
>
> --
> View this message in context: http://www.nabble.com/Consuming-advisory-messages-in-camel.-tp23982716p23982716.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus