Re: Re:Re: Is it possible to dispatch a message in the topic to only a certain queues while using virtual topic?

2013-10-16 Thread HellKnight
only online consumers could receive message if I use non-durable subscriptions. This couldn't meet my requirments. -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-it-possible-to-dispatch-a-message-in-the-topic-to-only-a-certain-queues-while-using-virtual-topic-tp467262

Re:Re: Is it possible to dispatch a message in the topic to only a certain queues while using virtual topic?

2013-10-16 Thread SuoNayi
Why not use nondurable subscription? Seems it's a nondurable subscription usecase. At 2013-10-16 20:59:03,"Matt Pavlovich" wrote: >A couple things to look into-- > >1. Set a message expiration. You'll set this when producing the message. >2. gcInactiveDestinations (this will garbage collect

Re: Message Expiration thorugh broker

2013-10-16 Thread Christian Posta
Check here: http://activemq.apache.org/timestampplugin.html On Wed, Oct 16, 2013 at 5:55 AM, Sophia Wright wrote: > Hi, > > Is it possible to set message expiration time for broker. Producer can > specify time to live for a message and after that time it will expire. But > if a producer does no

Re: JEE Resource Adapter and ActiveMQConnectionFactory

2013-10-16 Thread damu
I am facing exactly the same issue. Did you manage to solve it? If yes, please share your solution. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/JEE-Resource-Adapter-and-ActiveMQConnectionFactory-tp4655236p4672881.html Sent from the ActiveMQ - User mailing lis

How to check if 'jms.useAsyncSend=true' is set in an inbound message?

2013-10-16 Thread damu
Hi all, We are using the embedded activemq broker within Fuse ESB (7.1.0) with consumers co-located . The producer client is deployed on a remote GlassFish server. It uses activeMQ resource adapter (5.6.0) along with spring jms template. The client publish messages to different queues. I want so

Message Expiration thorugh broker

2013-10-16 Thread Sophia Wright
Hi, Is it possible to set message expiration time for broker. Producer can specify time to live for a message and after that time it will expire. But if a producer does not specify expiration time, then all unconsumed messages will always be there in kahadb. Is there a way by which broker can exp

Could LevelDB improve performance when sending messages to composite destinations ?

2013-10-16 Thread HellKnight
It was said "A send to a composite destination only stores the message on disk once." in this post . I am using virtual topics and bothered by performance issues ,so I changed kahaDB to Le

Re: "OpenWireFormatNegotiator::onewayWire format negotiation timeout" when creating connection/session

2013-10-16 Thread Christian Posta
*CMS* I meant :) You're using the C++ client, right? On Wed, Oct 16, 2013 at 7:04 PM, Christian Posta wrote: > What versions of activemq and NMS are you using? > This probably happens on a call to createConnection().. when the transport > starts up, it tries to negotiate an appropriate openwire

Re: "OpenWireFormatNegotiator::onewayWire format negotiation timeout" when creating connection/session

2013-10-16 Thread Christian Posta
What versions of activemq and NMS are you using? This probably happens on a call to createConnection().. when the transport starts up, it tries to negotiate an appropriate openwire protocol version to use. something failed or locked up during this. can this be recreated? On Wed, Oct 16, 2013 at 6

Re: Rebalance not working in 5.8.0

2013-10-16 Thread waydena
See Broker 1 config file attached. activemq.xml -- View this message in context: http://activemq.2283324.n4.nabble.com/Rebalance-not-working-in-5-8-0-tp4672890p4672903.html Sent from the ActiveMQ - User mailing list archive a

"OpenWireFormatNegotiator::onewayWire format negotiation timeout" when creating connection/session

2013-10-16 Thread JRR
Hello, I've encountered a problem where a user of our product reported their AMQ messages stopped working, and when I dug into the details I found that we are getting an exception for: "OpenWireFormatNegotiator::onewayWire format negotiation timeout" when we create the connection and then the ses

Re: Rebalance not working in 5.8.0

2013-10-16 Thread Robert Davies
sorry I can't see the config - can you add as an attachment ? On 17 Oct 2013, at 02:17, waydena wrote: > Yes (as per xml in original post (is there a better way to post this?)): > > > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Rebalance-not-worki

Re: Rebalance not working in 5.8.0

2013-10-16 Thread waydena
Yes (as per xml in original post (is there a better way to post this?)): -- View this message in context: http://activemq.2283324.n4.nabble.com/Rebalance-not-working-in-5-8-0-tp4672890p4672900.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Rebalance not working in 5.8.0

2013-10-16 Thread Robert Davies
So you've enabled updateClusterClients rebalanceClusterClients and updateClusterClientsOnRemove on the transport connector on both brokers in the broker config ? On 17 Oct 2013, at 02:03, waydena wrote: > Yes the brokers are networked. The failover works - just not the rebalance... > > Broker

Re: Rebalance not working in 5.8.0

2013-10-16 Thread waydena
Yes the brokers are networked. The failover works - just not the rebalance... Broker 1: Broker 2: -- View this message in context: http://activemq.2283324.n4.nabble.com/Rebalance-not-working-in-5-8-0-tp4672890p4672898.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Poor performance while using virtual topic mode

2013-10-16 Thread HellKnight
Could anyone give me some performance test resluts? I wonder how fast activemq should be while sending persistent messages. And how much does performance for persistent messages correlated to the HardDisk performance of server machine ? Thanks in advance for any help! -- View this message in con

Re: Rebalance not working in 5.8.0

2013-10-16 Thread Robert Davies
so are the brokers connected (have a network connector between them?) On 16 Oct 2013, at 22:25, waydena wrote: > On reflection we may not have had this working in 5.4 - the clients connected > split across the two brokers on initial start-up because we still had both > brokers configured in the

Re: Rebalance not working in 5.8.0

2013-10-16 Thread waydena
On reflection we may not have had this working in 5.4 - the clients connected split across the two brokers on initial start-up because we still had both brokers configured in the client failover string at that time (the random connection was working) so it looked like rebalance was working but prob

Re: activemq failed to delete temporary queue

2013-10-16 Thread Christian Posta
Looks like the connection that created the temporary destination closed, and in doing so, removed any temp destinations it created (as designed). And then your respondent tried to use the temp destination, but temp dests cannot be added on the fly. Are you using connection pooling? What are your po

Rebalance not workingin 5.8.0

2013-10-16 Thread waydena
We previously had rebalance working in 5.4.2 with mulitple clients connecting to two brokers but it appears this stopped working after an upgrade to 5.8.0. All clients now connect to Broker 1 when it is started first. If Broker 1 is stopped all clients fail over to Broker 2 and stay there once Brok

Re: java.lang.NumberFormatException: property JMS_AMQP_MESSAGE_FORMAT was null

2013-10-16 Thread Christian Posta
Any idea how to reproduce this? On Mon, Oct 7, 2013 at 12:41 PM, Graham Leggett wrote: > Hi all, > > Earlier this afternoon we starting seeing the following exception recorded > in our activemq v5.8.0 wrapper.log file. Can anyone shed some light on what > it means? > > INFO | jvm 3| 2013/

Re: How to access the web-console using ActiveMQ maven plug-in

2013-10-16 Thread Christian Posta
Right. if you don't specify a config file, it will use an embedded broker and the webconsole will not be started. You should specify a configUri and point to an activemq.xml config file that also includes the jetty import (see the default activemq.xml config file that comes in the distro under /co

Re: Use case of http transport connector

2013-10-16 Thread Christian Posta
The HTTP transport converts the Openwire command objects to XML using a text-based wire format (uses XStream under the covers). There is no binary marshalling/unmarshalling involved here. On Mon, Oct 14, 2013 at 2:03 AM, Steven Turner wrote: > Can someone tell me here where is XML coming here in

Re: Cannot consume messages on queue after master/slave failover in ActiveMQ 5.8.0.

2013-10-16 Thread Matt Pavlovich
David- Try setting -Ddurable=true. It looks like you are producing non-persistent messages. Non-persistent messages would be lost when the master goes down. Hope this helps. -Matt On Oct 11, 2013, at 8:17 PM, dlaube wrote: > I am encountering some issues with master/slave failover with Activ

Re: Is it possible to dispatch a message in the topic to only a certain queues while using virtual topic?

2013-10-16 Thread Matt Pavlovich
A couple things to look into-- 1. Set a message expiration. You'll set this when producing the message. 2. gcInactiveDestinations (this will garbage collect a destination if a consumer hasn't come around for X period of time) http://activemq.apache.org/delete-inactive-destinations.html Hope