Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread liny
Hi, In http://activemq.apache.org/networks-of-brokers.html, there is a duplex property. Does this property have same function to build bi-directory between master and slave? If yes, I think master doesn't need to setup metworkConnection to slave, right? -- View this message in context: http://a

Re: how I can configure the amq as a message deliver between 3(or more) brokers?

2012-01-19 Thread liny
Hi dongweizi, I am newbie and curious what your new configuration is, could you kindly share me? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-I-can-configure-the-amq-as-a-message-deliver-between-3-or-more-brokers-tp4308979p4312587.html Sent from the ActiveM

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Johan Edstrom
That depends on duplex or not. On Jan 19, 2012, at 5:59 PM, liny wrote: > Hi Abimael, > > Can you explain why your master needs to set "networkConnectors"? > I thought only slave needs to set "networkConnectors" in Shared > Master/Slave architecture. > > -- > -- > ~Mia は 最高!~ >

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Jason Dillon
Can you point me at the code which handles virtual topic subscription message propagation to consumer queues plz? --jason On Jan 19, 2012, at 12:36 PM, Gary Tully wrote: > should be, but the use case is narrow, see the test case: > http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread liny
Hi Abimael, Can you explain why your master needs to set "networkConnectors"? I thought only slave needs to set "networkConnectors" in Shared Master/Slave architecture. -- -- ~Mia は 最高!~ -- -- View this message in context: http://activemq.2283324.n4.nabble.com/

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Gary Tully
should be, but the use case is narrow, see the test case: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/MessageListenerRedeliveryTest.java?r1=1084175&r2=1084174&pathrev=1084175 On 19 January 2012 19:09, Jason Dillon wrote: > Is this change in 5.5.1 an

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
Hello Well, it is very embarrasing, but , I realized what I was doing wrong : In the consumer, I created the session BEFORE start the connection . In Java code : connectionFactory factory = new ActiveMQConnectionFactory(brokerURL); connection = factory.createConnection(); connectio

Pause Queue/Topic for consumption / production?

2012-01-19 Thread rhuiser
Hi all, Is there a way to pause a queue/topic for consumption? When troubleshooting applications it is really a nice option to be able to pause a queue/topic, inspect the messages and then resume the queue for consumption. Same question for pausing a queue/topic for producing messages. Thanks in

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Jason Dillon
Is this change in 5.5.1 and enabled by default? If so I don't see any of these properties set. --jason On Jan 19, 2012, at 7:32 AM, Gary Tully wrote: > For one use case, when a exception causes a rollback, that exception > is trapped. Have a peek at > https://issues.apache.org/jira/browse/AMQ

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
Ops I realized that I posted a wrong parameter for the configuration files . The networkConnectors tag is , for both configuration files : I'm using the networkconnectors tag above and I see the error I post in the "1st thread" I started the topic. Thanks and

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
Hi Zagan Both, the master and the slave are sharing the same filesystem. I guess that this is not the issue. Let me post here some excerpts of the configuration files : Master.xml : http://activemq.apache.org/schema/core"; brokerName="sim1648" dataDirectory="/temp/abi

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Gary Tully
For one use case, when a exception causes a rollback, that exception is trapped. Have a peek at https://issues.apache.org/jira/browse/AMQ-3236 and the associated commits. We may be able to build on that. On 19 January 2012 05:58, Jason Dillon wrote: > Is there any easy way to get information abou

Re: how can a producer detect that temp disk is full

2012-01-19 Thread Gary Tully
Simplest config is to use the default cursor, which is the store cursor that has an embedded file cursor for non persistent messages. To have the file cursor spool to disk, it needs to reach 70% of its destination limit, so the system usage memory limits need to exceed this value, which the appear

Re: ActiveMQ crashes frequently

2012-01-19 Thread Zagan
Hi I run in the same issue a time ago. Can you please check if your .log files in the /data directory are cleaned up? On basis of the information I suppose this behaviour is due to a misconfiguration of your clients. If this is the case often broken log file cleanup is a symptom. -- View this mess

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Zagan
Hi, seems to me like you understanding of master/slave configuration is wrong. To have master/slave sharing the current instance status you have to share file access between same. They could share the same filesystem or the same database. When I tested the failover capabilities with the JMS clien

Re: activemq performance

2012-01-19 Thread Zagan
Hi, sadly I can' help you with this. But the web console seems to be a deployable WAR archive. You only have to customize the steps described under http://activemq.apache.org/web-console.html http://activemq.apache.org/web-console.html for you JBoss server. -- View this message in context:

how can a producer detect that temp disk is full

2012-01-19 Thread Joe Smith
Hi, I'm trying to impl a use case where a non-persistent msg producer can send msgs until no more disk space.   We want to flow the msgs to disk with a limit - and to detect when the space is full (instead of being throttled). The attempt is to set tempUsage limit with sendFailIfNoSpace on the

Re: INFO | Slow KahaDB access

2012-01-19 Thread Zagan
Thanks Dejan! -- View this message in context: http://activemq.2283324.n4.nabble.com/INFO-Slow-KahaDB-access-tp4291812p4309680.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: what is the difference between pending messages and queue count?

2012-01-19 Thread Zagan
Hi, throught testingI found the answear: number of pending messages = number of messages currently in queue enqueue count = number of all messages which where put into a queue Is it possible to reset the statistics in the Active MQ web console? -- View this message in context: http://activemq.

Re: NPE on AMQ shutdown via console

2012-01-19 Thread Dejan Bosanac
Thanks for reporting, can you raise a Jira for this? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Ja

Re: Do policy map entries aggregate?

2012-01-19 Thread Dejan Bosanac
Not at the moment. There have been some talks on supporting that in the future. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://ww

Re: How to make queues not to be comsumed until queue size exceed some value?

2012-01-19 Thread Dejan Bosanac
You need to deal with that in your consumer. Delay consumption or connect to the broker and get only certain amount of messages at the time. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ

Re: INFO | Slow KahaDB access

2012-01-19 Thread Dejan Bosanac
http://activemq.apache.org/kahadb.html#KahaDB-Slowfilesystemaccessdiagnosticlogging Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http:/

Re: when does BrokerFilter send method get triggered/called?

2012-01-19 Thread Dejan Bosanac
Maybe you can do what you want with scheduler support (+ statistics plugin) http://activemq.apache.org/delay-and-schedule-message-delivery.html Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com Acti

Re: what is the difference between pending messages and queue count?

2012-01-19 Thread Dejan Bosanac
There's no message count field in web console. It's probably consumer count? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.n