Re: right way to send and receive messages in a BrokerPlugin

2009-08-03 Thread Jose Luna
Mats, Since Rob has noted that this as the correct way, would you consider adding your plugin to the wiki when it is complete? I think others would find it useful/interesting, including myself. JLuna - Original Message > From: Rob Davies > To: users@activemq.apache.org > Sent: Mo

Re: right way to send and receive messages in a BrokerPlugin

2009-08-03 Thread Rob Davies
On 3 Aug 2009, at 20:24, > wrote: However I'm having some trouble with the new VM broker it starts, so I was hoping there might be a better way. For reference my problems were that the messages to my topic were not being distributed to the other brokers in the network. I've just figured

ActiveMQ 5.3/JBoss 4.2.2 and Message Groups

2009-08-03 Thread rwc
I am testing ActiveMQ 5.3 SNAPSHOT build from July 25th to get the message group fix (AMQ-2016). When I test message groups with a simple read/write test programs, it seems to work as advertised. However when I try to use the same version of 5.3 using an MDB in jboss 4.2.2, it doesn't seem to wo

RE: right way to send and receive messages in a BrokerPlugin

2009-08-03 Thread Mats.Henrikson
> However > I'm having some trouble with the new VM broker it starts, so I was > hoping there might be a better way. For reference my problems were that the messages to my topic were not being distributed to the other brokers in the network. I've just figured out that this is because I put my topi

right way to send and receive messages in a BrokerPlugin

2009-08-03 Thread Mats.Henrikson
Hey, I'm writing a special broker plugin that makes it so that a client can only have a single login (per username) to a network of brokers at any one time. To do this I am making the plugin send a message to all the other instances of the plugin on the network of brokers (using a topic) and if th

ActiveMQ resource adapter in GlassFish installation guide?

2009-08-03 Thread mjustin
Hello, does somebody know a tutorial / getting started guide which shows how I can use the activemq resouce adapter in GlassFish 2.1 or GlassFish v3? Best regards, - Michael Justin SCJP, SCJA betasoft - Software for Delphi™ and for the Java™ platform http://www.mikejustin.com - http://www.

Re: ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Bas Verhoeven
Bas Verhoeven wrote: > > I'm a bit confused by this. It seemed so easy ;) > I seem to be able to fairly reproduce it now: 1. Producer on ServerA sends a message to 'some.other.queue' Works fine: this message always stays on serverA 2. Consumer/Producer on ServerA gets the message and send

Re: ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Bas Verhoeven
Joe Fernandez wrote: > > So is that one consumer connected to serverA or serverB? > I have closed all consumers and verified with netstat that there are no connections (except for the network link) to the queue servers. The web interface on ServerA then shows: - general.replies.test: 1 co

Re: ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Joe Fernandez
So is that one consumer connected to serverA or serverB? Joe Bas Verhoeven wrote: > > Hello Joe, > > Thanks for the reply. > > > Joe Fernandez wrote: >> >> Try setting dynamicOnly to 'true'. Doing so should preclude the brokers >> from forwarding messages to other brokers that do not ha

Re: ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Bas Verhoeven
Hello Joe, Thanks for the reply. Joe Fernandez wrote: > > Try setting dynamicOnly to 'true'. Doing so should preclude the brokers > from forwarding messages to other brokers that do not have active > consumers for the target queue. > Am I supposed to set that setting on both servers or just

Re: Can't Connect to broker using stomp on activemq cpp 3.0.1

2009-08-03 Thread Michael Dehmlow
I would like to see the delta between stomp and open wire. With the version of activemq cpp we had been using stomp was actually much faster then openwire. We had been hopping to see speeds comparable to Tibco Smart Sockets, but thus far active mq performs at about half the msgs/sec. Any performa

Re: ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Joe Fernandez
Try setting dynamicOnly to 'true'. Doing so should preclude the brokers from forwarding messages to other brokers that do not have active consumers for the target queue. For example, when a producer on serverA sends a message to "queue.for.server.a", that message will never get forwarded to serv

ActiveMQ 5.2 - Forwarding only a few queues to a remote host

2009-08-03 Thread Bas Verhoeven
Hello, I have been working with both ActiveMQ 5.2 (also tried ActiveMQ 5.3-SNAPSHOT) over the past week. I think I have everything pretty well configured. I however still have some problems with network connectivity. First of all, let me explain why I am using a "networked" ActiveMQ setup. The

Re: problem with connecting to activemq's stomp interface

2009-08-03 Thread Dejan Bosanac
Hi, looks like you're telneting to the OpenWire (and not Stomp) connector. Try elnet 127.0.0.1 61613 Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Jul 30, 2009 at 1:10 PM, Ju

Re: New Broker plugin : Enforcing persistence mode

2009-08-03 Thread Rob Davies
Great! thank you Felix! On 3 Aug 2009, at 08:26, fehm wrote: Hi Rob, Sure, here you go : https://issues.apache.org/activemq/browse/AMQ-2339 Let me know, if you need something else. Cheers, Felix rajdavies wrote: Hi Felix, looks handy! - do you want to contribute it too Apache ? - i

Re: New Broker plugin : Enforcing persistence mode

2009-08-03 Thread fehm
Hi Rob, Sure, here you go : https://issues.apache.org/activemq/browse/AMQ-2339 Let me know, if you need something else. Cheers, Felix rajdavies wrote: > > Hi Felix, > > looks handy! - do you want to contribute it too Apache ? - if you do > can you create an issue - attach your code an