2 way message replication

2009-08-10 Thread straightfl...@gmail.com
Hello, I have 2 sites, Active / Passive in a DR scenario. We want all messages sent to the JDBC Master/slave setup in Primary Site A to be replicated to Backup Site B (and vice versa). The reason is we need processing to happen in both locations in case there is a site failover, the data is up

Getting UserName/ ClientID from Advisory.

2009-08-10 Thread Eric Bouer
Hello. I'm using ActiveMQ5.2 in Camel2. I'm consuming a TOPIC.Consumer advisory and no data structure in the advisory message I get contains the username or the advisory name. How, if at all, can I get those from the advisory ? Other properties will also be fine. This is how I set up the connect

Re: stomp temporary topics

2009-08-10 Thread Alexander L.
golubevpavel wrote: > > Once again, this is STOMP, not complete java client. > Is it possible to do that? > BTW, I am also in a search for the concept of temporary topics/queues for a Stomp client. Stomp itself does not support such destinations ( http://activemq.apache.org/cms/stomp-support.h

Re: stomp temporary topics

2009-08-10 Thread Alexander L.
golubevpavel wrote: > > I want to find a way to delete topics, that have no more consumers. > Once again, this is STOMP, not complete java client. > Is it possible to do that? > I am not an expert but I am afraid that topic is unaware about its subscribers... Probably you should consider anot

How can consumer monitor the producer via Spring

2009-08-10 Thread dirful_zone
Hi, this is dirful. I've study amq for several weeks. I have also searched the forum carefully.I'm sorry to say that I'm so confused. I didn't get it.:( This is my problem: I make a project via Struts FrameWork,Spring and tomcat. I injected JNDI into "context.xml" of tomcat like this: