Re: static network connection lost and not recreated

2012-02-02 Thread Torsten Mielke
Hi, This should generally work alright. You may want to configure for debug logging on org.apache.activemq.network and inspect the logging output carefully when the bridge should get restored. Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Feb 2, 2012, at 1:57 AM, Kai

broker stops communication but accepts new connections

2012-02-02 Thread Laures
I have a network of 3 brokers running but sometimes the brokers fail in a rather unique and annoying way. They still accept connections but otherwise stop to communicate with the client (even those still connected). For new connections created in java this means: code con =

RE: Activemq Clustering and failover

2012-02-02 Thread Chaitanya Gupta
Hi Matt, Thx for inputs. I tried failover transport but having one issue. Produces app is sending messages to active broker (say broker1), if I take the broker1 down, broker 2 gets the lock on DB and producer automatically starts sending messages to broker2, which is good. However when I take

Can an ActiveMQ Queue consume an ActiveMQ Topic?

2012-02-02 Thread xhannan
We are trying to build a system that would be heavily message system based. Trying to publish a topic and that needs to be brokered by a single process to distribute that topic to the appropriate queue. But instead of creating that broker code we needed to find out if an ActiveMQ Queue can

receive a msg from a Websphere MQ server (mq channel)

2012-02-02 Thread Ramon Bacardi
How can I receive a message from a MQ server, this is, a configuration where remote machine defines a channel (IP+port) on which it sends its msgs ? -- View this message in context: http://activemq.2283324.n4.nabble.com/receive-a-msg-from-a-Websphere-MQ-server-mq-channel-tp4351614p4351614.html

Re: Can an ActiveMQ Queue consume an ActiveMQ Topic?

2012-02-02 Thread Matt Pavlovich
Hi Khan- Yes, you can achieve the desired behavior in two ways. One is using ActiveMQ's Virtual Destinations, the other is to use a Camel route that reads from the Topic and publishes to the desired queue. I recommend using the Camel route, because it is more flexible and you can

Re: Can an ActiveMQ Queue consume an ActiveMQ Topic?

2012-02-02 Thread xhannan
We have been using Spring and I probably could have easily created a Spring process to do the same that you suggested to do in Camel. However, it seems that some people here would like the other approach better. I am not too familiar with ActiveMQ in general -- hence, would like to get some

Building ActiveMQ question

2012-02-02 Thread Chris Robison
I'm trying to build apache-activemq-5.5.1-fuse-01-13 and I keep getting the following error: [ERROR] Failed to execute goal on project activemq-camel: Could not resolve dependencies for project org.apache.activemq:activemq-camel:bundle:5.5.1-fuse-01-13: The following artifacts could not be

Re: Building ActiveMQ question

2012-02-02 Thread Matt Pavlovich
Add the Fuse repo to your Maven settings http://repo.fusesource.com/nexus/content/groups/public/ Matt Pavlovich On 2/2/12 10:33 AM, Chris Robison wrote: I'm trying to build apache-activemq-5.5.1-fuse-01-13 and I keep getting the following error: [ERROR] Failed to execute goal on project

ActiveMQEndpointWorker, run() method cannot be synchronized

2012-02-02 Thread Ed Keen
There has been a discussion on the JBoss 7 forums about errors getting the ActiveMQ resource adapter working correctly in JBoss (see https://community.jboss.org/message/648857) When JBoss attempts to deploy the rar file, it was throwing this error: ERROR

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
I had the same issue and unfortunely it seems that it is back . My test applications are not equals of you, as I am doing some tests about failover and H.A. using 2 simple applications. But, the bottom line is : when master goes down, you (and me) want that the slave start working properly AND

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
I just forgot to mention that it works properly IF you use durable topic subscriber . If you use dynamic topics , created by code , I noticed that it does not work (as I had explained in my previous comments and I assume is very similar your scenario ) . Regards -- View this message in context:

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
Oh no! No it does not work.. I did another test to check and it does not work even with Durable SUbscriber . Scenario : 2 brokers : master and slave 1 producer with failover uri on the code to connect and provide messages; 1 consumer with failover uri on the code to connect and consume

LDAPAuthorizationMap and Active Directory

2012-02-02 Thread Chris Robison
Has anyone been able to use the LDAPAuthorizationMap successfully with Active Directory? In my investigation, I don't think it will ever work in its current state. When looking at the code, it is making the assumption that the value of the member attribute (or what ever attribute you are using)

Re: Activemq Clustering and failover

2012-02-02 Thread Matt Pavlovich
Abimael- It might be helpful to understand that the client-side fail-over is handled by the ActiveMQ client-side library. The end-user just needs to code the consumer program as if it was talking to one broker. I suggest adding DEBUG, or TRACE level logging on the client-side. You may

Re: LDAPAuthorizationMap and Active Directory

2012-02-02 Thread Matt Pavlovich
Chris- This is one of the major flaws in LDAP. There are a number of conventions for handling group membership, and no strictly followed standard. Listing of common names, such as CN values, or listing full DNs. Then, there is the model of dynamic groups, where the user entry has the

Multicast and ActiveMQ

2012-02-02 Thread Hervé BARRAULT
Hi, I would multicast messages to different (dynamically determined) consumers. I'm asking myself if it is more efficient to use multiple queues or use a topic with durable subscription and selectors (I am using persistence). I would say topics reduce the number of persisted messages but i am

Re: static network connection lost and not recreated

2012-02-02 Thread Kai Hackemesser
Hi The symptoms of our configuration got more and more weird. We use currently topics where we have up to 5 producers and about the same number of consumers, mostly spread over the two boxes having a broker each. We did a run overnight and it ended with one broker falling over with not enough