RE: How to set thresholds in ActiveMQ Artemis

2024-06-05 Thread Mandadzhieva, Ayla
Thank you Justin Best regards, Ayla -Original Message- From: Justin Bertram Sent: Tuesday, June 4, 2024 12:15 AM To: users@activemq.apache.org Subject: Re: How to set thresholds in ActiveMQ Artemis There are lots of ways to monitor the heap usage of a JVM, but my recommendation would

Re: How to set thresholds in ActiveMQ Artemis

2024-06-03 Thread Justin Bertram
301252C > > BR, > Ayla > > > -Original Message- > From: Justin Bertram > Sent: Tuesday, May 28, 2024 8:25 PM > To: users@activemq.apache.org > Subject: Re: How to set thresholds in ActiveMQ Artemis > > [You don't often get email from jbert...@apache.or

RE: How to set thresholds in ActiveMQ Artemis

2024-06-02 Thread Mandadzhieva, Ayla
, 2024 8:25 PM To: users@activemq.apache.org Subject: Re: How to set thresholds in ActiveMQ Artemis [You don't often get email from jbert...@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Can you elaborate on the nature of the warnings and alerts y

RE: How to set thresholds in ActiveMQ Artemis

2024-05-29 Thread Mandadzhieva, Ayla
, 2024 8:25 PM To: users@activemq.apache.org Subject: Re: How to set thresholds in ActiveMQ Artemis [You don't often get email from jbert...@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Can you elaborate on the nature of the warnings and alerts y

Re: How to set thresholds in ActiveMQ Artemis

2024-05-28 Thread Justin Bertram
Can you elaborate on the nature of the warnings and alerts you're asking about? Is this something that would appear in the log? Is it a management notification [1]? Also, what specific memory and storage thresholds are you referring to? Are you talking about JVM memory, address memory, or somethin

Re: How to set Xmx value for Artemis Broker

2023-11-21 Thread Clebert Suconic
y.jaas.RolePrincipal > > -Djolokia.policyLocation=%ARTEMIS_INSTANCE_ETC_URI%\jolokia-access.xml > > -Dartemis.instance=%ARTEMIS_INSTANCE%) > > > > > > > > Thanks, > > > > Shivang. > > > > > > > > -Original Message- &

Re: How to set Xmx value for Artemis Broker

2023-11-20 Thread Justin Bertram
ion=%ARTEMIS_INSTANCE_ETC_URI%\jolokia-access.xml > -Dartemis.instance=%ARTEMIS_INSTANCE%) > > > > Thanks, > > Shivang. > > > > -Original Message- > From: Justin Bertram > Sent: Monday, November 20, 2023 3:15 AM > To: users@activemq.apache.org &g

Re: How to set Xmx value for Artemis Broker

2023-11-20 Thread Domenico Francesco Bruscino
> > -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal > -Djolokia.policyLocation=%ARTEMIS_INSTANCE_ETC_URI%\jolokia-access.xml > -Dartemis.instance=%ARTEMIS_INSTANCE%) > > > > Thanks, > > Shivang. > > > > -Original

RE: How to set Xmx value for Artemis Broker

2023-11-19 Thread Shivang Modi
e.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=%ARTEMIS_INSTANCE_ETC_URI%\jolokia-access.xml -Dartemis.instance=%ARTEMIS_INSTANCE%) Thanks, Shivang. -Original Message- From: Justin Bertram Sent: Monday, November 20, 2023 3:15 AM To: users@activemq.apache.org Subj

Re: How to set Xmx value for Artemis Broker

2023-11-19 Thread Justin Bertram
Use the --java-memory switch from the "create" command, e.g.: ./artemis create ... --java-memory 64G ... This is described in the documentation [1]. You can also get this information using "help," e.g.: ./artemis help create Justin On Sun, Nov 19, 2023 at 12:46 AM Shivang Modi wrote: >

Re: how to set the number of message that topic keeped

2016-01-31 Thread wuwufen
thank you again -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-set-the-number-of-message-that-topic-keeped-tp4706628p4706706.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: how to set the number of message that topic keeped

2016-01-29 Thread Tim Bain
You can use the ConstantPendingMessageLimitStrategy (see http://activemq.apache.org/slow-consumer-handling.html), but that will apply to both offline and active durable subscribers. I don't know of a way to limit offline durable subscribers without limiting active ones. Tim On Jan 29, 2016 12:04

Re: how to set queue's max size?

2014-01-08 Thread Christian Posta
your best bet is to use producer flow control and memory settings: http://activemq.apache.org/producer-flow-control.html There isn't a way to limit the # of messages in a queue per-se. On Tue, Jan 7, 2014 at 1:55 AM, Li Li wrote: > I am using activemq to implement the producer and consumer mode

Re: How to set TTL for messages sent to DLQ

2013-09-17 Thread Torsten Mielke
On Sep 16, 2013, at 2:48 PM, Marinad wrote: > I'm using ActiveMQ 5.8.0 > > I send messages with TTL to queue. But after an exhausted retry messages in > DLQ are without TTL. Correct. You generally don't want a TTL on the msgs moved to DLQ so you can examine why they have failed later. > >

Re: How to set TTL for messages sent to DLQ

2013-09-17 Thread Gary Tully
you can't at the moment. There is a plugin that will purge the DLQ for you see: http://activemq.apache.org/message-redelivery-and-dlq-handling.html section Automatically Discard Expired Messages On 16 September 2013 13:48, Marinad wrote: > I'm using ActiveMQ 5.8.0 > > I send messages with TTL to

Re: How to set network connector between to secure activemq broker?

2013-04-23 Thread Bipin Jethwani
This seems to be unanswered on activemq-user forum too. http://mail-archives.apache.org/mod_mbox/activemq-users/200910.mbox/%3c69b2d60e0910240900r3d36b142w236ec1bf6f6d8...@mail.gmail.com%3E -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-set-network-connector-betwe

Re: How to set network connector between to secure activemq broker?

2013-03-19 Thread Bipin Jethwani
I am sorry but I don't get it, what do you mean by setting up reverse example?? Johan Edstrom wrote > You just set up the reverse of the example. > > On Mar 19, 2013, at 9:34 PM, SuoNayi < > suonayi2006@ > > wrote: > >> yes, duplex network connector won't help this. >> Can you explain why t

Re: How to set network connector between to secure activemq broker?

2013-03-19 Thread Johan Edstrom
You just set up the reverse of the example. On Mar 19, 2013, at 9:34 PM, SuoNayi wrote: > yes, duplex network connector won't help this. > Can you explain why two unidirectional network connectors break your design? > Or you can use camel to transfer messages between brokers? > > > At 2013-03

Re: How to set the ActiveMQ redeliveryPolicy on a queue?

2012-10-01 Thread Claus Ibsen
Hi Ah redelivery per destination is coming in ActiveMQ 5.7. The docs hasn't been updated with details. But you can maybe get some idea from the committed code https://issues.apache.org/jira/browse/AMQ-3224 https://fisheye6.atlassian.com/changelog/activemq?cs=1356927 On Sat, Sep 29, 2012 at 2:56

Re: How to set the ActiveMQ redeliveryPolicy on a queue?

2012-09-29 Thread Claus Ibsen
On Sat, Sep 29, 2012 at 2:56 AM, redsdh wrote: > hi, > > How to set the ActiveMQ redelivery policy in spring3 configuration ? > > I have read http://activemq.apache.org/redelivery-policy.html, but can not > find the example. > > I searched a answer from stackoverflow, > > http://stackoverflow.com

Re: how to set MaxConcurrentConsumers in cpp client.

2011-07-26 Thread mahens
thanks for quick response, i can impliment setMaxConcurrentConsumers() and getMaxConcurrentConsumers() but i am struck to impliment start() fuction of org.springframework.jms.listener.DefaultMessageListenerContainer. can you please provide similar org.springframework.jms.listener.DefaultMessageLis

Re: How to set message expiry in activemq

2011-06-07 Thread agujral
thanks everyone for your replies -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-set-message-expiry-in-activemq-tp3580498p3581356.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to set message expiry in activemq

2011-06-07 Thread Martin C.
Hi, have a look at http://download.oracle.com/javaee/1.4/api/javax/jms/MessageProducer.html#send(javax.jms.Message, int, int, long) on how to send messages with a time-to-live set. Best regards, Martin On Tue, Jun 7, 2011 at 9:00 PM, agujral wrote: > Hi All, >        We are using active mq as

Re: How to set message expiry in activemq

2011-06-07 Thread Marcelo Jabali
Hi Anurag, You can set Time to Live for each message the producer sends to ActiveMQ. That's set on the send method of the ActiveMQMessageProducer class. Take a look here [1]. You can also check the JMS specification since TTL (JMSExpiration) is part of the standard JMS. [1] http://activemq.ap

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Marcelo Jabali
Steve, I believe you're looking for something similar to this: PolicyEntry policy = new PolicyEntry(); policy.setProducerFlowControl(true); policy.setMemoryLimit(50); policy.setDestination(topic);

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Steve Angelovich
Thanks for the reference but I don't know all the classes well enough to navigate through the javadocs and find the right information. I have something like; BrokerService broker = new BrokerService(); broker.setBrokerName(_host+"_"+_port); broker.setUseJmx(true); broker.setDataDirectory(new Fil

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Marcelo Jabali
Hi Steve, Take a look on org.apache.activemq.broker.region.policy.PolicyEntry (http://activemq.apache.org/maven/5.3.1/activemq-core/apidocs/org/apache/activemq/broker/region/policy/PolicyEntry.html) Hope this helps, -Marcelo On May 19, 2011, at 12:17 PM, Steve Angelovich wrote: > I have an

Re: How to set alwaysSyncSend=true on a VM connector via URI? ("vm://MyBrk?alwaysSyncSend=true" does not work)

2010-02-01 Thread Dejan Bosanac
Hi, try jms.alwaysSyncSend, it should work Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Feb 1, 2010 at 4:13 PM, Fred Moore wrote: > Hi Folks, >

Re: How to set message property in broker filter

2010-01-16 Thread hackingbear
Posting the online URL of itself should help: http://old.nabble.com/How-to-set-message-property-in-broker-filter-to26362561.html Thanks a lot!! rajdavies wrote: > > sry hackingbear - I can't remember the original context of this > conversation - a little help pls! :) > > cheers, > > Rob >

Re: How to set message property in broker filter

2010-01-16 Thread Rob Davies
sry hackingbear - I can't remember the original context of this conversation - a little help pls! :) cheers, Rob On 17 Jan 2010, at 00:52, hackingbear wrote: OK, got back to this. I tried and it still does not work. Here is how the codes for timestamping the message at the filter looks

Re: How to set message property in broker filter

2010-01-16 Thread hackingbear
OK, got back to this. I tried and it still does not work. Here is how the codes for timestamping the message at the filter looks like public void send(ProducerBrokerExchange producerExchange, Message msg) throws Exception { ActiveMQMessage amqmsg = (ActiveMQMessage)msg; Objec

Re: How to set message property in broker filter

2009-11-16 Thread Rob Davies
f you are setting a jms property - make sure messageSend.getMessage() returns a javax.jms.Message and set the property there. It should work On 16 Nov 2009, at 19:02, hackingbear wrote: I call the setStringProperty() and setProperty() to the message parameter ('messageSend' in http://acti

Re: How to set message property in broker filter

2009-11-16 Thread hackingbear
I call the setStringProperty() and setProperty() to the message parameter ('messageSend' in http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/BrokerFilter.html#send%28org.apache.activemq.broker.ProducerBrokerExchange,%20org.apache.activemq.command.Message%29) Are y

Re: How to set message property in broker filter

2009-11-15 Thread Rob Davies
On 15 Nov 2009, at 19:46, hackingbear wrote: Hi, I have BrokerFilter that tries to set message property filter in the broker filter (so to prevent malice clients from setting bad property.) However, I tried to set the properties in the send(), preProcessDispatch(), messageDelivered() met

Re: How to set

2009-05-08 Thread Dave Stanley
For a client failover connection the network: uri is unnecessary (i.e. network connectors are for broker to broker connections). I think something like the uri below should work. failover://(tcp://master1:0,tcp://slave1:0,tcp://master2:0,tcp://slave2:0))?randomize=false /Dave On Fri, May 8, 2009

Re: How to Set the header value to the JMS messages

2009-02-12 Thread Gary Tully
Hi Nawaz, A great place to look for example JMS usage is the activemq test suite. For example, the SelectorTest shows how message properties can be set and consumed based on property values: see: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTopicSel

Re: How to Set the header value to the JMS messages

2009-02-04 Thread gui pei
Hi, Nawaz JMS specialization use following method to implement it, and it has other type method for other data type. *getStringProperty*(String name) Returns the value of the String property with the specified name. *setStri

Re: How to set prefetchSize in conf/activemq.xml?

2009-02-04 Thread Mons Anderson
Oh, yes: I've been adding it to queue uri, but it works when passing in stomp headers. Mons Anderson wrote: > > Big thanks. > I've tried this option, but maybe the testcase was wrong that time > It works > -- View this message in context: http://www.nabble.com/How-to-set-prefetchSize-in-con

Re: How to set prefetchSize in conf/activemq.xml?

2009-02-04 Thread Mons Anderson
Big thanks. I've tried this option, but maybe the testcase was wrong that time It works Dejan Bosanac wrote: > > Hi Mons, > > yes, it's possible to do it with Stomp. All you have to do is to set > > activemq.prefetchSize header to 1 on your subscribe command > > Cheers > -- > Dejan Bosanac >

Re: How to set prefetchSize in conf/activemq.xml?

2009-02-04 Thread Dejan Bosanac
Hi Mons, yes, it's possible to do it with Stomp. All you have to do is to set activemq.prefetchSize header to 1 on your subscribe command Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

Re: how to set priority of brokers in failover URI

2008-08-27 Thread Gary Tully
You can turn off the default random behavior and have an ordered list with the following: failover:(tcp://x.x.x.x:xx,tcp://y.y.y.y:yy)?randomize=false see: http://activemq.apache.org/failover-transport-reference.html for more options. 2008/8/26 stevec <[EMAIL PROTECTED]>: > > On the client, ho

Re: how to set the message distination of Networks of Broker.

2007-12-21 Thread Lephix
i solved my project with AMQ, but the problem is still there without my project. in my project i have 3 AMQs. one is the TOP, another two are children of the TOP.and two children do NOT have communication.so i just connect the TOP to two children, and two children connect to TOP without two childr

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
Can you send the actual xml configuration for all three brokers ? On Dec 21, 2007, at 5:04 AM, Lephix wrote: hi rajdavies: i just using wildcards to filter the messages for my destinations. but in the Environment i said before. i found there are still messages sent to the destinations i don't

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Lephix
hi rajdavies: i just using wildcards to filter the messages for my destinations. but in the Environment i said before. i found there are still messages sent to the destinations i don't want to. the content of my xml below: = ===

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
Yes - wild cards are supported! On Dec 20, 2007, at 3:37 PM, Lephix wrote: thank you rajdavies. i searched the solution for my problem. and solved it. and one more question. can i just hard code for the queue name? could i type the queue name like ? thank you very much. rajdavies wrote

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Lephix
thank you rajdavies. i searched the solution for my problem. and solved it. and one more question. can i just hard code for the queue name? could i type the queue name like ? thank you very much. rajdavies wrote: > > The way to do this is to set excludedDestinations on the network > connec

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
The way to do this is to set excludedDestinations on the network connections between 192.9.105.141 and 192.9.105.142 see http://activemq.apache.org/networks-of-brokers.html On Dec 20, 2007, at 1:26 PM, Lephix wrote: i got 3 machines and each of one got a AMQ on it. IP are 192.9.105.140, 192.

Re: How to set up Filters for Composite Queue

2007-02-28 Thread James Strachan
On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I am using the latest Activemq 4.1 and would like to use a composite queue to forward the messages to several physical queues. From the activemq documentation, we can set up filters on physical queues in the configuraion file so only needed me