Re: Unsubscribing DurableSubscribers

2016-09-16 Thread Hassen Bennour
their correspondent unsubscribe this will works fine receiver1.receiveMessage(u2); receiver2.receiveMessage(u1); receiver3.receiveMessage(u1); Le 16 sept. 2016 22:34, "Hassen Bennour" a écrit : > Unsubscribe durable subscribers with ActiveMQ > > up vote > 0 > down vote > fav

Re: Unsubscribing DurableSubscribers

2016-09-16 Thread Hassen Bennour
Unsubscribe durable subscribers with ActiveMQ up vote 0 down vote favorite I'm trying to UNSUBSCRIBE durable subscribers from TOPICS. My app is a kind of social network : each user is a topic for other users. So, each time a user is doing something, his friends are notified. Of course, a subscrib

Re: New installation, message not going from queue in admin console

2016-09-05 Thread Hassen Bennour
you can use these examples to start consumers http://activemq.apache.org/version-5-examples.html http://activemq.apache.org/web-samples.html good examples are in demo pages Kind regards. *BENNOUR HASSEN* *SOA **Architect **/ **Java **Software Engineer* 2016-09-05 11:16 GMT+02:00 martinm : >

Re: Durable subscriber

2016-09-03 Thread Hassen Bennour
d also to have a persistent message delivery? > >> On Sep 2, 2016, at 4:02 PM, Hassen Bennour wrote: >> >> default delivery mode in JMS is PERSISTENT and this is the default one used by AMQ client. >> if at the AMQ broker level persistence is not disabled , because it is ena

Re: How do I check for a queue consumer via java after making the connection?

2016-09-02 Thread Hassen Bennour
you can do that by different ways if your messages are non persistent this can be done by subscribing to the topic "ActiveMQ.Advisory.NoConsumer.Queue" or if persistent by subscribing to topic "ActiveMQ.Advisory.MessageDelivered.Queue" or "ActiveMQ.Advisory.MessageConsumed.Queue" to be notified if

Re: How To Increase Heap Size

2016-08-29 Thread Hassen Bennour
Hello, You need to set ACTIVEMQ_OPTS in activemq.bat with these values to change jvm memory usage. Check this line in the script : if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config="%ACTIVEMQ_CONF%\login

Re: ActiveMQ Defaul admin password change

2016-08-12 Thread Hassen Bennour
i also done the test on CentOS and it's works fine when i change the password after restart. Kind regards. *BENNOUR HASSEN* *SOA **Architect **/ **Java **Software Engineer* 2016-08-11 21:27 GMT+02:00 Hassen Bennour : > I tested that on windows > Le 11 août 2016 21:26, "Ha

Re: ActiveMQ Defaul admin password change

2016-08-11 Thread Hassen Bennour
I tested that on windows Le 11 août 2016 21:26, "Hassen Bennour" a écrit : > The only things i done is to download your version, start it , connect to > the web console with admin/admin , stopped the broker, changed the pwd, > start the broker, retry with admin/admin and c

Re: ActiveMQ Defaul admin password change

2016-08-11 Thread Hassen Bennour
The only things i done is to download your version, start it , connect to the web console with admin/admin , stopped the broker, changed the pwd, start the broker, retry with admin/admin and cannot log on, tried with the new password and i log on. The only difference as i see is that you restart th

Re: ActiveMQ Defaul admin password change

2016-08-11 Thread Hassen Bennour
Hello, sorry you have reason I misspoke, I meant to add the credentials.properties as mentioned or updated it if needed. I done a test with a fresh download of ActiveMQ 5.11.1 and only changed the password in the jetty-realm.properties file like you done admin:AwesomeNewPassword, admin , restart

Re: ActiveMQ Defaul admin password change

2016-08-10 Thread Hassen Bennour
Hello , Did you updated the credentials.properties as mentioned here http://activemq.apache.org/web-console.html Hassen Le 10 août 2016 21:07, "jairojara" a écrit : > Hello, > > I have ActiveMQ 5.11.1 > > I am trying to change the default password for the Web Console. > > I have this setting e

Re: Who uses ActiveMQ in Finance / Banking / Markets?

2016-08-08 Thread Hassen Bennour
Hello AJK, thank you for sharing your informations, i'm not expert in sonicMQ (CxMessenger) but as i see it's very easy to work with AMQ than last CxMessenger version, to configure, for some AMQ possibilities too like message routing, destination Interceptors, retroactive consumers, virtual & com

Re: system property

2016-08-08 Thread Hassen Bennour
Hello, If it is on startup of the broker may be with PropertyPlaceholderConfigurer for the libs configured with spring like this file:${activemq.conf}/file.properties SYSTEM_PROPERTIES_MODE_FALLBACK (default) Check system properties if not resolvable in the

Re: Who uses ActiveMQ in Finance / Banking / Markets?

2016-08-08 Thread Hassen Bennour
Hello AJK, Can i ask you please : 1- for wich reasons you choosed to drop SonicMQ. 2- Replacing it by ActiveMQ. 3- it is possible to share your benchmarking... ? I'm facing the same case and another benchmarking can help. Thank you. Kind regards. *BENNOUR HASSEN* *SOA **Architect **/ **Jav

Re: For each user group.properties

2016-08-02 Thread Hassen Bennour
IRE: *** Now I want those 2 clients to have their own topic name on > the web console. *** > — > > And here’s the current config of my authorization: > >... >read="east-users" write="east-users" admin="east-admins,east-us

Re: For each user group.properties

2016-08-01 Thread Hassen Bennour
nt my authorization to read these 2 clients and create 2 topic > destination on web console. But nothing worked out. Any help? > > Thanks! > > Best regards, > Crishel Yumul > DevOps > TORO Limited > > > On Aug 1, 2016, at 3:34 PM, Hassen Bennour [via ActiveMQ] < >

Re: For each user group.properties

2016-08-01 Thread Hassen Bennour
Hello, where you done this ?*. I've tried adding (" ") and (' '), but it didn't worked out. * You can do this by adding an authorizationEntry for each user. Kind regards. *BENNOUR HASSEN* *SOA *

Re: For each user group.properties

2016-07-29 Thread Hassen Bennour
Hello, your configuration is ok for the plugin, but do not forgot like this http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/jaas-broker.xml Kind regards. *BENNOUR HASSEN* *SOA **Architect **/ **Java **Software Engineer* 201

Re: Interceptor for MQTT

2016-06-30 Thread Hassen Bennour
Hello, I think you must send this request to d...@activemq.apache.org Le 28 juin 2016 02:38, "Vincent Peng" a écrit : > Hi, > > I'm wondering if the interceptor can support MQTT protocol. > I tested the example > in activemq-artemis/examples/features/standard/interceptor and the > interceptor ca

Re: Help with Camel Config routing using a custom ActiveMQ Message Property

2016-06-23 Thread Hassen Bennour
Hello, You can route messages following messages properties with filtered destinations http://activemq.apache.org/virtual-destinations.html or camel http://activemq.apache.org/sample-camel-routes.html http://camel.apache.org/message-filter.html to trash a message i think you can route it to DLQ