Re: Intercept mqtt client connection

2017-08-17 Thread aragoubi
Finally, I succeeded, I compiled project with modification, and replaced the jar into artemis lib folder, and now the broker is able to intercept mqtt connection. Thank you for your help and suggestions. -- View this message in context:

consumer.prefetchSize option on destination is not working

2017-08-17 Thread nayanateja9
Hi All, I am trying to use connsumer.prefetchSize on destination, I want to limit the no of messages sent from broker to consumer on destination basis, but it is not working for me, but when is set "" on activemq.xml this is working properly, Please find the below program I am not acknowledging

Re: Delete/Purge Topic

2017-08-17 Thread meghaauti
Hi I am sorry there was a mistake in the previous question Using jolokia api I am able to delete a topic but when topic(with the same name that was deleted) is again created somehow subscribers are not getting registered. Also on web console, I am able to see that subscribers have destination

Re: Intercept mqtt client connection

2017-08-17 Thread Justin Bertram
I forgot to mention that you'll need to add Otavio's repo as a remote to be able to get his commit for the cherry-pick. You can do that like so: git remote add orpiske https://github.com/orpiske/activemq-artemis.git Justin On Thu, Aug 17, 2017 at 8:14 AM, Justin Bertram

Re: Intercept mqtt client connection

2017-08-17 Thread Justin Bertram
Assuming you've got the Artemis repo from GitHub cloned locally you can just do this: git checkout master git cherry-pick 48b9573c66d428722fab172290865b986573f764 mvn clean install -Prelease Ideally you could just do the cherry-pick on top of the 2.2.0 branch, but there's a conflict based

Re: Intercept mqtt client connection

2017-08-17 Thread aragoubi
I want to intercept clients when trying to connect in order to do some checks before allowing them to connect. How could I add needed features to cshanon broker interceptor? Is cshanon broker interceptor different from the interceptor of Artemis 2.1.0 ? I don't have any idea about cshanon broker