Re: ActiveMQ NMS duplicate NMSMessageIDs received

2010-04-21 Thread Timothy Bish
Can you provide a small sample application that demonstrates the issue and attach it to a new Jira issue? Regards Tim. On Thu, Apr 22, 2010 at 12:39 AM, DAJ wrote: > > I noticed that when receiving a message the providerSequenceID is being > stripped from the unique message id which is returned

ActiveMQ NMS duplicate NMSMessageIDs received

2010-04-21 Thread DAJ
I noticed that when receiving a message the providerSequenceID is being stripped from the unique message id which is returned by NMSMessageID. In doing so it appears to my application that I receive duplicate messages. Example: Client A: Creates 3 messages with IDs ID:AMQ-2447-1271861110307-4

Re: Recieving the same message 10 times, Spring, and Camel

2010-04-21 Thread Bruce Snyder
On Wed, Apr 21, 2010 at 7:31 PM, Steve Holmes wrote: > > It appears that it is the concurrent consumers setting.  Does anyone know how > this should be set properly?  When I commented it out: > > > > I'm now only receiving the message once.  Shouldn't the messages only be > pushed once to each co

Re: Recieving the same message 10 times, Spring, and Camel

2010-04-21 Thread Steve Holmes
It appears that it is the concurrent consumers setting. Does anyone know how this should be set properly? When I commented it out: I'm now only receiving the message once. Shouldn't the messages only be pushed once to each consumer regardless of this setting? -Steve Steve Holmes wrote: >

Recieving the same message 10 times, Spring, and Camel

2010-04-21 Thread Steve Holmes
Hi All! Keep in mind that I am completely new to ActiveMQ and message brokers in general. I've been setting up a configuration within spring using an embedded broker and a Camel Context for consuming messages. The problem I'm having is that each time I produce a message and add it to it's Active

Re: Understanding the Exclusive Consumer

2010-04-21 Thread Gary Tully
exclusive consumer is a simple solution to the case where there are many consumers but only one should be active at any time. Rather than some application logic keeping track of which one should be active, they all have a go and the broker ensures exclusive access. So each consumer connects but on

Re: Xbean and Plugin/Broker Inheritance -- plugin help needed

2010-04-21 Thread Dejan Bosanac
Hi Davis, checkout this article http://activemq.apache.org/developing-plugins.html#DevelopingPlugins-ConfiguringpluginswithoutcustomXML Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Xbean and Plugin/Broker Inheritance -- plugin help needed

2010-04-21 Thread davis
Hi, I want to develop my own custom authorization plugin/broker. I'm going to first attempt to just subclass the AuthorizationBroker that is in ActiveMQ..e.g. import org.apache.activemq.broker.Broker; import org.apache.activemq.security.AuthorizationBroker; import org.apache.activemq.security.

Understanding the Exclusive Consumer

2010-04-21 Thread TonyTobin
In the ActiveMQ doc http://activemq.apache.org/exclusive-consumer.html it states The broker will pick a single MessageConsumer to get all the messages for a queue to ensure ordering. If that consumer fails, the broker will auto failover and choose another consumer. Is this a consumer master slav

Re: activemq-cpp problem connecting with openwire 5.4.0

2010-04-21 Thread Timothy Bish
I'm not aware of any changes in the trunk version that would affect the C++ client. I've run our tests against 5.4 SNAPSHOTS without issue. Could you provide a test case that demonstrates the problem, its possible you have found a bug in the C++ client. If you are sending the message from a Java

activemq-cpp problem connecting with openwire 5.4.0

2010-04-21 Thread kkreja
Hi, I'm trying to write an C++ activemq client to work with the latest activemq java implementation (5.4.0). We use 5 .4.0 because 5.3.0 had some problems sending large (over 64kbytes) HTTP messages. Everything is fine till I call the getText() method on the TextMessage and get an exception (so

Re: JDBC Master Slave Cluster question

2010-04-21 Thread TonyTobin
Thanks for the prompt and helpful reply Tony -- View this message in context: http://old.nabble.com/JDBC-Master-Slave-Cluster-question-tp28288022p28288026.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: JDBC Master Slave Cluster question

2010-04-21 Thread magellings
We run JDBC master/slave. There isn't any message lost provided you use the failover protocol on the client side. When a message is sent to the broker with the producer the broker sends an acknowledgment back when it has persisted the message to the datastore. When a consumer consumes a message

JDBC Master Slave Cluster question

2010-04-21 Thread TonyTobin
I am looking into clustering ActiveMQ brokers, the Master and Slave approach seems the best approach. One Master one or more slaves depending on the cluster. I have discounted the pure master slave since to restart the master you have to take the slave down. So I am looking at the JDBC Master S

Re: Broker goes down when database is restarted or goes down

2010-04-21 Thread magellings
If you use c3p0 as a connection pooler, then you can run a slave which will retry to obtain the lock on the lock table. Then when the database is restarted, or goes down, the master goes down, and the slave broker will take over when the database comes back up. You'll then need something to rest

Re: java.net.MalformedURLException in ActiveMQ

2010-04-21 Thread nubishasha12
well - http://www.game4power.com buy wow gold http://www.game4power.com/buy-gold/ cheap wow gold http://www.wowgoldone.com cheap wow gold -- View this message in context: http://old.nabble.com/java.net.MalformedURLException-in-ActiveMQ-tp8443213p28288018.html Sent from the ActiveMQ - U

Re: java.net.MalformedURLException in ActiveMQ

2010-04-21 Thread nubishasha12
well! - http://www.game4power.com buy wow gold http://www.game4power.com/buy-gold/ cheap wow gold http://www.wowgoldone.com cheap wow gold -- View this message in context: http://old.nabble.com/java.net.MalformedURLException-in-ActiveMQ-tp8443213p28288017.html Sent from the ActiveMQ -

Re: java.net.MalformedURLException in ActiveMQ

2010-04-21 Thread kkms
Hi, May i know what was the problem & how to solve it. Currently, I am facing the same problem Thanks, KK cafe wrote: > > thx, the problem was in my /etc/hosts file, but now is ok > > > cafe wrote: >> >> When I try to execute the activemq script in the "bin" directory I get >> the following

Re: ActiveMQ AJAX Problems

2010-04-21 Thread Dejan Bosanac
Hi Mark, if you don't actually use Ajax to send messages, you should use REST API ( http://activemq.apache.org/rest.html) curl -d 'body=message' http://localhost:8161/demo/message/t1?type=topic This doesn't stop you from consuming your messages using Ajax however. Cheers -- Dejan Bosanac - http

finding workaround to solve memory leak problem when creating large numbers of TemporaryQueues (Log4J related)

2010-04-21 Thread easyl
I am using embedded AMQ 4.1.2 (in geronimo 2.1.4) and find there is a memory problem similar to this: https://issues.apache.org/activemq/browse/AMQ-1681 I run a system (64bit, 3G mem) after 8 hours, about 100 temp queue was created for send/reply. I can find 400~500 MB (and counting) for Log4

Re: problems with openwire C library

2010-04-21 Thread xyjEcho
hei, now ,I want to use the openwire-c too,and I have compile it,but run error .so ,I want to kown how about you .Have you run it success? -- View this message in context: http://old.nabble.com/problems-with-openwire-C-library-tp25219669p28287981.html Sent from the ActiveMQ - User mailing list

Re: Broker goes down when database is restarted or goes down

2010-04-21 Thread Gary Tully
Do the comments on https://issues.apache.org/activemq/browse/AMQ-2498 help at all? On 21 April 2010 09:07, lernit2007 wrote: > > I use the last activemq release version. > > > lernit2007 wrote: > > > > Hello, > > > > if my jdbc-database is restarted or goes down, then the broker goes down > > to

Re: ActiveMQ RA and client acknowledge in a message-driven bean

2010-04-21 Thread Gary Tully
Use a transacted delivery in your endpoint activation and throw an exception from onMessage. if you have the source, take a peek at this test: org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery On 21 April 2010 06:02, Ivan Pechorin wrote: > Hello! > > I use JBoss, ActiveMQ resource a

Re: Broker goes down when database is restarted or goes down

2010-04-21 Thread lernit2007
I use the last activemq release version. lernit2007 wrote: > > Hello, > > if my jdbc-database is restarted or goes down, then the broker goes down > too. It is possible to say that the broker always try to connect to the > database or how can I solve this problem. Thanks im behaviour. > --