[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    RE: How to intercept the incoming data to ACtiveMQ from Client
From:       Tim Bain <tbain () alumni ! duke ! edu>
Date:       2017-11-24 13:35:41
Message-ID: CAPVVMa86LS+QF2+vcVDhWH9+rb1Sc61aUe+W8GmozctevSQqpA () mail ! gmail ! com
[Download RAW message or body]


BrokerFilter.send() will be called when a message is sent by the producer.
The message being sent is the second parameter, and in the body you can
grab whatever content you need from the message body and process it however
you need to.

To me, that sounds like exactly what you're looking for. Can you explain in
more detail why it's not?

Tim

On Nov 24, 2017 12:33 AM, "Gupta Bharat" <bharat.gupta@scania.com> wrote:

> BrokerFilter.send() will send the data what I am looking for is to receive
> data from Client and store it in variable so as to pass to my custom plugin.
>
> Regards,
> Bharat Gupta
> Development & Support | Platform Technician, IXCB | Scania IT
> Mobile: +46700869007, +91-9718483802
> bharat.gupta@scania.com
>
> -----Original Message-----
> From: tbain98@gmail.com [mailto:tbain98@gmail.com] On Behalf Of Tim Bain
> Sent: Friday, November 24, 2017 1:15 AM
> To: ActiveMQ Users <users@activemq.apache.org>
> Subject: Re: How to intercept the incoming data to ACtiveMQ from Client
>
> Have you reviewed the information at
> http://activemq.apache.org/interceptors.html? BrokerFilter.send() seems
> like what you're looking for.
>
> Tim
>
> On Nov 23, 2017 9:31 AM, "Gupta Bharat" <bharat.gupta@scania.com> wrote:
>
> > Hello,
> >
> > Could you please help me with the below mentioned requirements?
> >
> > I am new to ActiveMQ and need to explore more on this.
> >
> >
> > What:
> > Need to intercept the incoming data to ActiveMQ and save it in an object
> > or a variable.
> >
> > Why:
> > Data coming from client need to be intercepted and pass through a custom
> > plugin.
> >
> > Custom plugin is a service which have integrated with ACtiveMQ. Now need
> > to pass data to that from client. So using what method we can do that?
> >
> > addConnection()? or any other
> >
> > Thanks In Advance
> >
> >
> > Regards,
> > Bharat Gupta
> > Development & Support | Platform Technician, IXCB | Scania IT
> > Mobile: +46700869007, +91-9718483802
> > bharat.gupta@scania.com<mailto:bharat.gupta@scania.com>
> >
> >
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic