Thanks in Advance
Regards,
Bharat Gupta
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 2 februari 2018 14:29
To: ActiveMQ Users
Subject: RE: ActiveMQ custom plugin
OK, great. In that case you would probably want to make a custom p
il.com] On Behalf Of Tim Bain
Sent: den 2 februari 2018 14:29
To: ActiveMQ Users
Subject: RE: ActiveMQ custom plugin
OK, great. In that case you would probably want to make a custom processor
in Camel that transforms the message however you need it to, and insert the
processor in the route before
rom: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 2 februari 2018 07:06
To: ActiveMQ Users
Subject: RE: ActiveMQ custom plugin
Let's go back to basics.
Are you using 5.x or Artemis?
You say you're routing messages from ActiveMQ to IBM MQ. How is that being
don
.@scania.com
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 2 februari 2018 07:06
To: ActiveMQ Users
Subject: RE: ActiveMQ custom plugin
Let's go back to basics.
Are you using 5.x or Artemis?
You say you're routing message
eMQ to publish it on Topic
Demo instead of message with jwtToken value.
I Hope I am able to explain you better :)
Regards,
Bharat Gupta
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 1 februari 2018 15:02
To: ActiveMQ Users
Cc:
t;:"grte","attachments":[]}}
>
>
> I need *Demo* to be added in headers and remove jwtToken from message. I
> removed it. But what method I can use in ActiveMQ to publish it on Topic
> Demo instead of message with jwtToken value.
>
> I Hope I am able to explain
from message. I
removed it. But what method I can use in ActiveMQ to publish it on Topic Demo
instead of message with jwtToken value.
I Hope I am able to explain you better :)
Regards,
Bharat Gupta
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of
>
>> I am validating the message by validating the jwt token. I don’t want
>> jwtToken field in message once I have validate it and used following to
>> remove it:
>>
>> for (JsonNode jsonNode : jsonNodeRoot) {
>> if (jsonNode instanceof ObjectNod
sonNode instanceof ObjectNode) {
>ObjectNode o = (ObjectNode) jsonNode;
>o.remove("jwtToken");
>
>}
> }
>
> But how to publish a message on topic once I have done the following
> checks on it? What method I can use
can use here?
Also I wish to add certain attributes in the message header and then publish on
the topic how I can do that also?
Thank You in Advance
Regards,
Bharat Gupta
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 2 januari 2018 06
>> know method on which we can call that Plugin.
>>
>> Also do we have to use Artemis here to achieve this?
>>
>> Thanks In Advance
>>
>> Regards,
>> Bharat Gupta
>> Development & Support | Platform Technician, IXCB | Scania IT
>> Mobile:
t; Mobile: +46700869007, +91-9718483802
> bharat.gu...@scania.com<mailto:bharat.gu...@scania.com>
>
> -Original Message-----
> From: tbai...@gmail.com<mailto:tbai...@gmail.com> [mailto:
> tbai...@gmail.com] On Behalf Of Tim Bain
> Sent: Tuesday, December 5, 2017 7
Users mailto:users@activemq.apache.org>>
Cc: users-ow...@activemq.apache.org<mailto:users-ow...@activemq.apache.org>
Subject: RE: ActiveMQ custom plugin
I'd suggest that you store your cache of known credentials in your plugin.
I'm not sure that you'd have access to the web sess
at.gu...@scania.com
>
> -Original Message-
> From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
> Sent: Tuesday, December 5, 2017 7:29 PM
> To: ActiveMQ Users
> Cc: users-ow...@activemq.apache.org
> Subject: RE: ActiveMQ custom plugin
>
>
: RE: ActiveMQ custom plugin
I'd suggest that you store your cache of known credentials in your plugin.
I'm not sure that you'd have access to the web session from a plugin,
because that's MQTT-specific, so I think your best bet would be to store it
in a Map (better: a Guava cache,
time user
> sends me message on activemq using mqtt or web socket I need to check the
> message header with the users stored in contextsession or from some object.
> If user is present then we validate else we don’t.
>
>
> Regards,
> Bharat Gupta
> Development & Support | Pla
Bharat Gupta
Development & Support | Platform Technician, IXCB | Scania IT
Mobile: +46700869007, +91-9718483802
bharat.gu...@scania.com
-Original Message-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: den 29 november 2017 04:20
To: ActiveMQ Users
Cc: use
();
System.out.println("messageText = " + messageText);
}
} catch (JMSException e) {
//Handle the exception appropriately
}
}
Regards,
Bharat Gupta
Development & Support | Platform Tech
}
>
> if(logger.isInfoEnabled()){
> logger.info("This is info
> : " + parameter);
> }
>
> logger.warn("This is warn : &
is warn : " + parameter);
> logger.error("This is error : " +
> parameter);
> logger.fatal("This is fatal : " +
> parameter);
>
> }
>
> public Broker instal
}
}
The above are two classes I have implemented for my custom plugin.
Regards,
Bharat Gupta
Development & Support | Platform Technician, IXCB | Scania IT
Mobile: +46700869007, +91-9718483802
bharat.gu...@scania.com<mailto:bharat.gu...@scania.com>
From: tbai...@gm
sage-
From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
Sent: Friday, November 24, 2017 7:19 PM
To: ActiveMQ Users
Cc: users-ow...@activemq.apache.org
Subject: RE: ActiveMQ custom plugin
1. Your send() method needs to call super.send() after doing your custom
work,
Sent: Friday, November 24, 2017 7:19 PM
To: ActiveMQ Users
Cc: users-ow...@activemq.apache.org
Subject: RE: ActiveMQ custom plugin
1. Your send() method needs to call super.send() after doing your custom
work, otherwise the message will never be sent to the real Broker object.
Please review the
inal Message-
> From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain
> Sent: Friday, November 24, 2017 7:15 PM
> To: ActiveMQ Users
> Cc: users-ow...@activemq.apache.org
> Subject: Re: ActiveMQ custom plugin
>
> As I said in your other thread, you would d
Cc: users-ow...@activemq.apache.org
Subject: Re: ActiveMQ custom plugin
As I said in your other thread, you would do that by implementing code in
the send() method of your subclass of BrokerFilter, which you would create
and return in your installPlugin() method.
Tim
On Nov 24, 2017 3:51 AM, "Gupta Bha
As I said in your other thread, you would do that by implementing code in
the send() method of your subclass of BrokerFilter, which you would create
and return in your installPlugin() method.
Tim
On Nov 24, 2017 3:51 AM, "Gupta Bharat" wrote:
Hello,
I have a scenario as follows:
1. I h
Hello,
I have a scenario as follows:
1. I have Custom Plugins that decrypts the data and validates it.
2. I am getting Encrypted data (token) from user that need to be
decrypted on custom plugin.
3. Client is accessing the broker using mqtt protocol
Need Solution for the fo
27 matches
Mail list logo