Re: maxInactivityDuration of Wire-Format is not supported by ActiveMQ-CPP

2009-04-08 Thread Timothy Bish
On Wed, 2009-04-08 at 18:58 -0700, polygraph wrote: > I have fixed the bug in activemq-cpp. > > Care to share? How about opening a Jira issue and attaching a patch? Regards Tim. > > polygraph wrote: > > > > I checked all the code in ActiveMQ-CPP 2.2.5 , I think > > maxInactivityDuration of

ActiveMQ / JBoss integration behaving badly?

2009-04-08 Thread bwarren
I am running ActiveMQ with JBoss and seeing my JMS connections getting closed when they shouldn't be by the JBoss CachedConnectionManager. I've posted on the JBoss forum here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153782 I suspect this is a JCA configuration issue or JBoss is

Re: multiple clients

2009-04-08 Thread Roger Hoover
What you described is the correct semantics for queues. Sounds like what you want is a topic. Maybe you can try /topic/test. HTH, Roger On Wed, Apr 8, 2009 at 7:40 PM, Richard Langly < richard.ringo.lan...@gmail.com> wrote: > When a message is sent to a queue, when is that data removed from th

multiple clients

2009-04-08 Thread Richard Langly
When a message is sent to a queue, when is that data removed from the queue? I have multiple clients that are subscribed to/queue/test, but only one client is actually getting the data. Actually, it's like each client takes turns receiving messages. So if I send the numbers 1 through 10 to the que

Re: maxInactivityDuration of Wire-Format is not supported by ActiveMQ-CPP

2009-04-08 Thread polygraph
I have fixed the bug in activemq-cpp. polygraph wrote: > > I checked all the code in ActiveMQ-CPP 2.2.5 , I think > maxInactivityDuration of Wire-Format is not supported in the code. > I had want to configure the Parameter to kill some died connections. > > I do not know why the argument i

Re: Stomp and content-length

2009-04-08 Thread Yury Batrakov
Yury Batrakov wrote: > > This seems reasonable, but Ruby Stomp library, I've got from gems always > sets 'content-length', so JSON text, I send from Ruby code don't want to > turn to Java's ObjectMessages. > Oh, I think I can explain while it is done so in Ruby: text can be sent in UTF-8 or ot

Stomp and content-length

2009-04-08 Thread Yury Batrakov
Hi all! I'd like to ask for advice about one problem in Stomp protocol that I'd faced. Looks like Stomp protocol have some agreement that messages without 'content-length' header are considered to be text messages and ones with content-length is set are binary. The same logic is implemented in tr

Re: Managing a Broker via JMX

2009-04-08 Thread Bruce Snyder
On Wed, Apr 8, 2009 at 12:02 PM, ronchalant wrote: > In my application we want to leverage some kind of distributed queue > probably using store-forward, and new brokers may come online from > time-to-time. I wanted to then update the network connector(s) dynamically > to include these new broke

ActiveMQ 5.2 : Unable to Move Messages Between Queues

2009-04-08 Thread MaenXe
Hi guys(and gals), I've been having this problem now for almost 2 months now, and I'm really at a loss. I have Security setup on my broker using the simple Authentication and Authorizations examples found in the Security wiki. When I try to move a message from one Queue to another, it fails.

Re: Is there JDBC master/slave retry logic if database goes down?

2009-04-08 Thread Gary Tully
in 5.2 there is a setter on the JDBCPersistenceAdaptor that allows you to set a locker instance. see: http://activemq.apache.org/maven/5.2.0/activemq-core/apidocs/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.html#setDatabaseLocker(org.apache.activemq.store.jdbc.DatabaseLocker) Otherwise,

Re: Managing a Broker via JMX

2009-04-08 Thread ronchalant
bsnyder wrote: > > Jconsole can be used to connect to remote brokers. When making a > connection to the broker from Jconsole, specify the ip address and > port number to connect. But I'm not sure this will provide what you > need given that you're looking to 'dynamically manage network > connect

Re: Managing a Broker via JMX

2009-04-08 Thread Bruce Snyder
On Wed, Apr 8, 2009 at 11:18 AM, ronchalant wrote: > > Is it possible to manage the network connectors of a broker via JMX?  I don't > see it here: http://activemq.apache.org/jmx.html > > What I want to be able to do is dynamically manage network connector(s) > without running in the same VM.. is

Consumtion of Messages with out any network overhead when using Embeded Broker.

2009-04-08 Thread Yaswanth
Hi .. I have deployed ActiveMQ in JBoss. My application in also deployed on the same JBoss instance. I have a message producer which runs on the different JVM. It publishes the Object Messages to the Queue say tempQueue at url tcp://localhost:61616 Now my application has registered a Messag

Managing a Broker via JMX

2009-04-08 Thread ronchalant
Is it possible to manage the network connectors of a broker via JMX? I don't see it here: http://activemq.apache.org/jmx.html What I want to be able to do is dynamically manage network connector(s) without running in the same VM.. is this possible via JMX or some other protocol? -Ron -- View t

Re: Get an exception when running embedded ActiveMQ with TransportConnector activation on Felix

2009-04-08 Thread ffrenchm
What means "its the stupid question of the day" ? I've the impression this answer will not help :'( About your question on servicemix 4 kernel and to be quick : ask my boss ;) ++ Andreas Gies-3 wrote: > > hmmm > > > maybe its the stupid question of the day, but why don't yo use the

Re: Get an exception when running embedded ActiveMQ with TransportConnector activation on Felix

2009-04-08 Thread Andreas Gies
hmmm maybe its the stupid question of the day, but why don't yo use the servicemix 4 kernel and load the active mq feature into it ? Best regards Andreas On Apr 8, 2009, at 2:53 PM, ffrenchm wrote: Hello, first of all I must say that the bellow test has been realized successfully

Remove notification in DestinationSource

2009-04-08 Thread akos
Hi, i'm listening on a DestinationSource for notifications about queue creation and removal. The onDestinationEvent is called for new queues (right after i produce a message on it) but i never get notifications about removed queues. Do you know why? Thanks for your help! Akos -- View this mess

AMQ-2200

2009-04-08 Thread Joe Fernandez
The JMX org.apache.activemq.broker.jmx.TopicSubscriptionView object returns -1 for the SessionId and MaxPendingQueueSize attributes. I am using AMQ 5.2 on Windoze XP Pro and JDK 1.5. Use the JConsole and view any TopicSubscriptionView object and you'll see the -1 values. I searched JIRA for issu

Get an exception when running embedded ActiveMQ with TransportConnector activation on Felix

2009-04-08 Thread ffrenchm
Hello, first of all I must say that the bellow test has been realized successfully without Felix. Bellow some log to show you the minimalist configuration of my embedded ActiveMQ. INFO Broker- Starting Broker INFO BrokerService - Using Persistence Adapter:

the activemq auto shutdown with jdk-6u14-ea-bin-b04-linux-amd64-01_apr_2009

2009-04-08 Thread njblue2004
i have a system centos 5.2 x64 my hardware :cpu intel e5420 32G mem i install activemq with apache-activemq-5.2.0-bin.tar.gz my jdk is jdk-6u14-ea-bin-b04-linux-amd64-01_apr_2009.bin i start the activemq. but some time the activemq is auto shutdown this is log 2009-04-08 17:28:10,674 [MQ Sh

Re: Draining messages from a queue

2009-04-08 Thread Andreas Gies
Hi there, you can use the purge() method either via the API or via JMX. HTH Andreas On Apr 8, 2009, at 9:12 AM, venkateshwr wrote: Hi Is there a way to drain messages from a queue programmatically. For instance, when I use a java queue (LinkedBlockingQueue), I can drain all messages from

Re: ActiveMQ 5.2 versus Sonic MQ 7.6

2009-04-08 Thread Andreas Gies
Hi Jared, I am with PROGRESS now for 8 years and have spent 7 as consultant / architect with Sonic and the last year intensively with ActiveMQ. I will not go as far as to say that SonicMQ is bug free and wouldn't do that for ActiveMQ either. This having said, my impression is that ActiveMQ

Ldap discovery mechanism using permanent sync causes java.io.IOException

2009-04-08 Thread JM-AWL
Hi, I'am using Ldap discovery mechanism with permanent sync with release 5.2.0 and Sun OpenDS 1.2.0 as Ldap Server. ActiveMQ reads his networkConnector configuration in the Ldap tree and establishs the broker connection. When the parameters change in the Ldap tree (in the following, the ipServic

Draining messages from a queue

2009-04-08 Thread venkateshwr
Hi Is there a way to drain messages from a queue programmatically. For instance, when I use a java queue (LinkedBlockingQueue), I can drain all messages from the queue at that instant. Is there something available in ActiveMQ? Thanks WRV -- View this message in context: http://www.nabble.com/D

maxInactivityDuration of Wire-Format is not supported by ActiveMQ-CPP

2009-04-08 Thread polygraph
I checked all the code in ActiveMQ-CPP 2.2.5 , I think maxInactivityDuration of Wire-Format is not supported in the code. I had want to configure the Parameter to kill some died connections. I do not know why the argument is not supported in ActiveMQ-CPP or there is other way to kill the died s