RE: ActiveMQ custom plugin

2018-03-05 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2018-03-05 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2018-02-02 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2018-02-02 Thread Gupta Bharat
.@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

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
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:

Re: ActiveMQ custom plugin

2018-02-01 Thread Bruce Snyder
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

RE: ActiveMQ custom plugin

2018-02-01 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
> >> 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

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2018-02-01 Thread Gupta Bharat
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

Re: ActiveMQ custom plugin

2018-01-01 Thread Tim Bain
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

Re: ActiveMQ custom plugin

2017-12-13 Thread Tim Bain
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

Re: ActiveMQ custom plugin

2017-12-12 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2017-12-12 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2017-12-12 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2017-12-05 Thread Tim Bain
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":

RE: ActiveMQ custom plugin

2017-12-05 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2017-11-28 Thread Tim Bain
(); System.out.println("messageText = " + messageText); } } catch (JMSException e) { //Handle the exception appropriately } } Regards, Bharat Gupta Development & Support | Platform Tech

RE: ActiveMQ custom plugin

2017-11-28 Thread Gupta Bharat
ing[] args) { > > > } > > private void runMe(String parameter){ > > if(logger.isDebugEnabled()){ > logger.debug("This is > debug : " + parameter); >

Re: ActiveMQ custom plugin

2017-11-26 Thread Tim Bain
} > > if(logger.isInfoEnabled()){ > logger.info("This is info > : " + parameter); > } > > logger.warn("This

RE: ActiveMQ custom plugin

2017-11-26 Thread Gupta Bharat
fatal : " + parameter); } public Broker installPlugin(Broker broker) throws Exception { Sample sample = new Sample(); sample.runMe("ActiveMQ Hello"); return new MyBroker(broker);

RE: ActiveMQ custom plugin

2017-11-25 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2017-11-24 Thread Gupta Bharat
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

RE: ActiveMQ custom plugin

2017-11-24 Thread Tim Bain
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

RE: ActiveMQ custom plugin

2017-11-24 Thread Gupta Bharat
(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

Re: ActiveMQ custom plugin

2017-11-24 Thread Tim Bain
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

ActiveMQ custom plugin

2017-11-24 Thread Gupta Bharat
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

Re: custom plugin

2012-04-18 Thread Gary Tully
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

Re: custom plugin

2012-04-17 Thread LCamel
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.

Re: custom plugin

2012-04-17 Thread LCamel
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.

Re: Loading more than one custom plugin

2008-07-17 Thread Joe Fernandez
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.

Re: custom plugin

2008-04-16 Thread tanshul22
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: >> >

Re: custom plugin

2008-04-14 Thread Dejan Bosanac
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.

Re: custom plugin

2008-04-14 Thread Fred D
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

custom plugin

2008-04-11 Thread tanshul22
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.