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
uot;Gupta Bharat" > bharat.gu...@scania.com>> wrote:
>>
>> hello again,
>>
>> I am asking my question here again if you can possibly help me with a
>> method.
>>
>> 1. Need to intercept the Incoming connections from MQTT clients.
>> Use
to intercept the Incoming connections from MQTT clients.
> User is connecting to activemq broker by hitting on url and sending a
> TOKEN [(hostname:port) + token]
>
> How can we intercept the connections and validate the token sent by mqtt
> client?
>
> I have my own custom plugin
m asking my question here again if you can possibly help me with a
method.
1. Need to intercept the Incoming connections from MQTT clients.
User is connecting to activemq broker by hitting on url and sending a
TOKEN [(hostname:port) + token]
How can we intercept the connections and validate the t
TT clients.
> User is connecting to activemq broker by hitting on url and sending a
> TOKEN [(hostname:port) + token]
>
> How can we intercept the connections and validate the token sent by mqtt
> client?
>
> I have my own custom plugin that will validate the token. Just Need to
connections and validate the token sent by mqtt client?
I have my own custom plugin that will validate the token. Just Need to 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 | Plat
off behavior) within
your plugin.
Tim
On Dec 5, 2017 3:50 AM, "Gupta Bharat" wrote:
> Hi Tim,
>
> I am having a scenario here. Using custom plugin I am validating my JWT
> tokens and fetching the claims from it.
>
> Claims:
>
> {
> "unique_name":
Hi Tim,
I am having a scenario here. Using custom plugin I am validating my JWT tokens
and fetching the claims from it.
Claims:
{
"unique_name": "gubhpi",
"sub": "gubhpi",
"kid": "1d884b7a-88ce-40e7-9bb8-f5e8f6b5837d",
&qu
();
System.out.println("messageText = " + messageText);
}
} catch (JMSException e) {
//Handle the exception appropriately
}
}
Regards,
Bharat Gupta
Development & Support | Platform Tech
ing[] args) {
>
>
> }
>
> private void runMe(String parameter){
>
> if(logger.isDebugEnabled()){
> logger.debug("This is
> debug : " + parameter);
>
}
>
> if(logger.isInfoEnabled()){
> logger.info("This is info
> : " + parameter);
> }
>
> logger.warn("This
fatal : " + parameter);
}
public Broker installPlugin(Broker broker) throws Exception {
Sample sample = new Sample();
sample.runMe("ActiveMQ Hello");
return new MyBroker(broker);
On Nov 24, 2017 5:44 PM, "Gupta Bharat" wrote:
hello Tim,
My Custom Plugin is getting installed as I am using log4j to print random
stuff and its getting printed in logs.
Can you please describe in more detail exactly what methods that logging is
done in and how it proves that the
hello Tim,
My Custom Plugin is getting installed as I am using log4j to print random stuff
and its getting printed in logs.
I am hereby attaching my codes that you can see.
activemq.xml configurations:
http://www.springframework.org/schema/beans
geBytes = messageSend.getContent().data;
> String message = new String(messageBytes);
> logger.info("messageBody" + message);
> }
>
> Also I am publishing a message on a topic even though this send() method
> is not been called as logger.info
(messageBytes);
logger.info("messageBody" + message);
}
Also I am publishing a message on a topic even though this send() method is not
been called as logger.info is not getting printed in my Custom Plugin.
Could you please help me on this?
Regards,
Bharat Gupta
D
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 following:
1. Before getting data ont
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
e comment by Gary Tully can relieve the problem:
> ./bin/activemq xbean:conf/activemq.xml?validate=false
>
> Is there a better way to solve it ? Thanks.
>
> Luoh Ren-Shan
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/custom-plugin
this message in context:
http://activemq.2283324.n4.nabble.com/custom-plugin-tp2358111p4566722.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Luoh Ren-Shan
http://activemq.2283324.n4.nabble.com/file/n4566496/foo.tgz foo.tgz
--
View this message in context:
http://activemq.2283324.n4.nabble.com/custom-plugin-tp2358111p4566496.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
able to successfully delimit more then one plugin in
> the plugins field. I've tried , ; | and simply the # but it always reads
> it as a single plugin.
>
> Any ideas?
>
>
> Thanks,
> Fredrick
>
--
View this message in context:
http://www.nabble.com/Loading-more-than-one-custom-plugin-tp18512903p18515235.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
ere are some additional configuration parameters you should be able to
>> extend the xml file with your parameters. Activemq uses xbean, so you
>> should
>> add these to the xsd and point to your custom file.
>>
>>
>> tanshul22 wrote:
>> >
ld
> add these to the xsd and point to your custom file.
>
>
> tanshul22 wrote:
> >
> > how do i configure the activemq.xml file to have my own custom plugin
> > which has its own jar in the lib directory.
> >
> > thanks
> >
>
>
> -
> Goto www.
he xsd and point to your custom file.
tanshul22 wrote:
>
> how do i configure the activemq.xml file to have my own custom plugin
> which has its own jar in the lib directory.
>
> thanks
>
-
Goto www.ttmsolutions.com for a free ActiveMQ user guide
--
View th
how do i configure the activemq.xml file to have my own custom plugin which
has its own jar in the lib directory.
thanks
--
View this message in context:
http://www.nabble.com/custom-plugin-tp16628198s2354p16628198.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
35 matches
Mail list logo