Re: is tens of thousands of session feasible?

2014-03-05 Thread Claus Ibsen
Hi Have you seen this page about unsubscribe from mailing lists http://www.apache.org/foundation/mailinglists.html On Thu, Mar 6, 2014 at 12:08 AM, Erik S. Peterson wrote: > Sorry to hijack this thread, but after several attempts, unsubscribe from > this list continues to fail. Please unsubscr

Re: ActiveMQ perl consumer ideal timeout

2014-03-05 Thread Erik S. Peterson
Sorry to hijack this thread, but after several attempts, unsubscribe from this list continues to fail. Please unsubscribe my email from this list. On Mar 5, 2014, at 4:07 PM, Erik S. Peterson wrote: > Sorry to hijack this thread, but after several attempts, unsubscribe from > this list continue

Re: Consume Topic messages from remote MDB - ActiveMQ 5.5.1 & Glassfish 3.1.1

2014-03-05 Thread Erik S. Peterson
Sorry to hijack this thread, but after several attempts, unsubscribe from this list continues to fail. Please unsubscribe my email from this list. On Mar 3, 2014, at 5:11 PM, garyli_95123 wrote: > Hi, > > This is really helpful. Thanks. > > Have you try not including destination topic in glas

Re: is tens of thousands of session feasible?

2014-03-05 Thread Erik S. Peterson
Sorry to hijack this thread, but after several attempts, unsubscribe from this list continues to fail. Please unsubscribe my email from this list. On Mar 5, 2014, at 2:08 AM, Noel OConnor wrote: > have you seen ActiveMQSession.INDIVIDUAL_ACKNOWLEDGE > > see > https://urldefense.proofpoint.com

Re: is tens of thousands of session feasible?

2014-03-05 Thread Erik S. Peterson
Sorry to hijack this thread, but after several attempts, unsubscribe from this list continues to fail. Please unsubscribe my email from this list. On Mar 5, 2014, at 12:48 AM, Li Li wrote: > hi all, > I want to process a batch of message using my own priority > algorithm. But in JMS, I can

Re: ActiveMQ perl consumer ideal timeout

2014-03-05 Thread Erik S. Peterson
Sorry to hijack this thread, but after several attempts, unsubscribe from this list continues to fail. Please unsubscribe my email from this list. On Mar 5, 2014, at 2:03 AM, khandelwalanuj wrote: > Hi, > > I am using Net::STOMP:CLIENT perl module and trying to connect my consumer > to the bro

Re: Message Groups and Network of Brokers (Still not supported?)

2014-03-05 Thread Christian Posta
Not supported across network of brokers reliably during faults. On Wed, Mar 5, 2014 at 1:27 PM, gregg wrote: > Hi, > > Can someone please confirm that the current version of ActiveMQ (5.9.0) > continues to only support the JMSXGroupID property strictly in a > Master/Slave configuration? > > If th

Message Groups and Network of Brokers (Still not supported?)

2014-03-05 Thread gregg
Hi, Can someone please confirm that the current version of ActiveMQ (5.9.0) continues to only support the JMSXGroupID property strictly in a Master/Slave configuration? If this is no longer true, then please provide any network of brokers configurations that can be used reliably with message grou

Re: Consume Topic messages from remote MDB - ActiveMQ 5.5.1 & Glassfish 3.1.1

2014-03-05 Thread garyli_95123
Hi, This is really helpful. Thanks. Have you try not including destination topic in glassfish-ejb-jar.xml (destination"? If this is not possible, is there another way of not having the topic in this file. I want to different topic's for different environments (QA/production). So I don't w

Re: ActiveMQ perl consumer ideal timeout

2014-03-05 Thread khandelwalanuj
I was checking more and found out some source code: here org/apache/activemq/transport/stomp: * public static final long RECEIVE_TIMEOUT = 1; and stompSocket.setSoTimeout((int)timeOut); * What is this timeout, Does it mean broker will close the connection after 1ms if it does not receiv

Re: is tens of thousands of session feasible?

2014-03-05 Thread Li Li
I have debugged into ActiveMQMessageConsumer.acknowledge void acknowledge(MessageDispatch md, byte ackType) throws JMSException { MessageAck ack = new MessageAck(md, ackType, 1); session.sendAck(ack); synchronized(deliveredMessages){ deliveredMessages.remove

Re: is tens of thousands of session feasible?

2014-03-05 Thread Noel OConnor
Be careful according to the JMS 1.02 spec JMS sessions aren't thread safe so I don't recommend taking that approach. I haven't used the individual acknowledge so you'll have to check that yourself. On Wed, Mar 5, 2014 at 8:46 PM, Li Li wrote: > If I have one session and a receiver thread. this

Re: is tens of thousands of session feasible?

2014-03-05 Thread Li Li
If I have one session and a receiver thread. this thread receive ten messages to ten worker thread. each worker thread acknowledge it's message? receiver thread: while(true){ Message msg=receiver.receive(); put msg to a ConcurrentLinkedList; Worker thread: while(true){ Message msg

Re: is tens of thousands of session feasible?

2014-03-05 Thread Li Li
many thanks.In this mode, If I create a session and receive message1,message2 and message3 and I only acknowledge on message3, then if the client crashed. I will get message1 and message2 redeliveryed? if it's true, that's what I want. I only learned the standard acknowledge mode in the JMS spec

Re: is tens of thousands of session feasible?

2014-03-05 Thread Noel OConnor
have you seen ActiveMQSession.INDIVIDUAL_ACKNOWLEDGE see http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQSession.html#INDIVIDUAL_ACKNOWLEDGE On Wed, Mar 5, 2014 at 6:48 PM, Li Li wrote: > hi all, > I want to process a batch of message using my own priority > algorithm

ActiveMQ perl consumer ideal timeout

2014-03-05 Thread khandelwalanuj
Hi, I am using Net::STOMP:CLIENT perl module and trying to connect my consumer to the broker. When Consumer remains ideal for 15 seconds, broker disconnects my consumer. Why so ? Is there an idealtime after which I need to send messages from my perl client to keep the connection alive. I am usin