Re: ActiveMQ Basic Queries

2009-01-16 Thread Antriksh Verma
Can anyone Help me out with this problem WARN DiscoveryNetworkConnector - Could not start network bridge between: vm://localhost and: tcp://hostname:61616 due to: java.net.UnknownHostException: INFO DemandForwardingBridge - localhost bridge to Unknown stopped Is this Fluctuation

Re: Discovery & Store and Forwarding Queues

2009-01-16 Thread project2501
Thanks Gary. The interfaces support multicast (I'm on ubuntu). What should be seen in each brokers log when they auto-discover on startup? Does 5.2.0 currently perform this auto-discovery multicast for store and forward correctly? I read the other thread that suggests there is a bug here? than

Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 1:46 PM, icfantv wrote: > > Bruce- > > Yah, I just discovered that and posted a response to myself for posterity. > > Let me make sure I understand the failover transport correctly: It will, by > default, attempt to reconnect every 30 seconds indefinitely until an > ActiveM

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
Bruce- Yah, I just discovered that and posted a response to myself for posterity. Let me make sure I understand the failover transport correctly: It will, by default, attempt to reconnect every 30 seconds indefinitely until an ActiveMQ server is running on the default URL (assuming no additional

Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 1:14 PM, icfantv wrote: > > So, "technically" timeouts are supported for TCP Transports. Here are the > URI configuration parameters: > http://activemq.apache.org/tcp-transport-reference.html > http://activemq.apache.org/tcp-transport-reference.html Yes, the connectionTim

Re: Unable to start Active MQ Broker without LAN Connection.

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 6:29 AM, sailaja p wrote: > > Hi, > > I am begginer to the Active MQ and trying understand the features of Active > MQ. I have downloaded the Active MQ 5.1.0. When I tried to start the > Messaging Broker without LAN Connection I am getting the below exceptions. > But if I t

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
So, "technically" timeouts are supported for TCP Transports. Here are the URI configuration parameters: http://activemq.apache.org/tcp-transport-reference.html http://activemq.apache.org/tcp-transport-reference.html And, if one uses the standard TCP URL of tcp://localhost:61616 and ActiveMQ i

Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 8:27 AM, icfantv wrote: > > I'm trying to create a connection such that it will time out if the ActiveMQ > server isn't running rather than blocking indefinitely. If I do it in a > background thread and it never connects, but rather, blocks indefinitely, > Java provides no

Re: livelock AMQPersistenceAdapter

2009-01-16 Thread Gary Tully
One thought, you have a boker bean and a factory using the vm protocol, If the broker bean is not fully started before the connection factory, you will have two brokers in the mix, use so that the connection factory will not create a broker and will wait till the broker bean is started, Ther

Re: livelock AMQPersistenceAdapter

2009-01-16 Thread davis
This list seems a tad dead. Is there any reason traffic is extremely low and many queries go unanswered? Just curious. I've ignored this problem for now, but now it really is annoying, and I must fix it. If I run a complete suite of unit tests, somewhere along the line the AMQPersistenceAdap

Re: Selectors and QueueBrowser

2009-01-16 Thread IBeaumont
Gary Tully wrote: > > You can experience a hung queue scenario if there are more > than maxPageSize messags in a queue that do not match a selector. > Gulp! While I have only 4 messages in my current test, potential I could have 10,000s of messages and my selector will be used to pick out a

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
I'm trying to create a connection such that it will time out if the ActiveMQ server isn't running rather than blocking indefinitely. If I do it in a background thread and it never connects, but rather, blocks indefinitely, Java provides no way to terminate the thread. Not to harp on the develope

Re: Selectors and QueueBrowser

2009-01-16 Thread Gary Tully
The enumeration.next() will automatically page through for you. Actually, maxBrowsePageSize is relevant only to the Queue.browse JMX and webconsole operation and limits how many messages can be browsed by that operation. For normal dispatch (including dispatch to QueueBrowsers) the destination ma

Re: ActiveMQ and Transactions

2009-01-16 Thread Rob Davies
On 16 Jan 2009, at 13:38, benshort wrote: Hi, I have one instance of active message broker. I want to receive message from one queue ( Q1 ) and put them into two queues ( Q2 and Q3 ). I want this to happen in a transaction so if it fails to be added to Q2 or Q3 it should not end up in

Re: PyActiveMQ: Retrieving Queue Size (Or other Queue related info)

2009-01-16 Thread Jahvid.Williams
Ok thanks to both Timothy & Bill for the responses: Bill Schuller wrote: > > The QueueBrowser JMS API call is intended for browsing the content of > messages in a queue. If you are just looking for counts of the pending > messages in a queue/topic, I think you¹re on the wrong trail. No > exper

AMQ5.2 : Not able to send messages in DLQ

2009-01-16 Thread Raj_New
I am not able to move the messages in DLQ. I am using following steps after starting broker of AMQ5.2 for a sample app : 1. Run InquirySubscriber 2. Run InquiryPublisher Could any one have look in code and suggest what I am missing or need to be done to test DLQ means make messages to move in DL

Problem with JMSTemplate and Transaction

2009-01-16 Thread oc
Hi, I want to receive several JMS message on a java client and I use JMSTemplate class from Spring to do this. I want also use transaction with annotation to validate the integrity of the process. In the scenario I send 5 JMS messages on the JMS queue. http://www.nabble.com/file/p21500936/Etape

Re: Selectors and QueueBrowser

2009-01-16 Thread IBeaumont
Hi Gary, 1. I've only got 4 messages in my queue at the moment. 2. Thanks for the tip on maxBrowsePageSize. What does maxBrowsePageSize actually mean? How would I get more messages from next "page". I've got a UI that the user can browse all the messages on the queue. They can then select a m

ActiveMQ on NetApp / NFS - How's it working out?

2009-01-16 Thread JasonCzerak
How's this working out for folks? Any gotchya's? How about tips on performances, mount options, vol options, tcp/ip tuning for small files, etc etc etc. I read of locking issues on the 4.x versions, this has all been solved on 5.x correct? -- View this message in context: http://www.nabble.com

Re: Selectors and QueueBrowser

2009-01-16 Thread Gary Tully
I notice that there does not seem to be a test for this, some combination of the selector test[1] and browser test[2] is needed to validate this. Is there a sparse distribution of messages matching your selector. Any chance that more than 400 message that do not match the selector are in the queue?

ActiveMQ and Transactions

2009-01-16 Thread benshort
Hi, I have one instance of active message broker. I want to receive message from one queue ( Q1 ) and put them into two queues ( Q2 and Q3 ). I want this to happen in a transaction so if it fails to be added to Q2 or Q3 it should not end up in the other queue. Do I need to use XA Transactions

Unable to start Active MQ Broker without LAN Connection.

2009-01-16 Thread sailaja p
Hi, I am begginer to the Active MQ and trying understand the features of Active MQ. I have downloaded the Active MQ 5.1.0. When I tried to start the Messaging Broker without LAN Connection I am getting the below exceptions. But if I tried to start the Broker with LAN connection, I am able to star

Re: Gentoo Init Scripts

2009-01-16 Thread Dejan Bosanac
Yeah. I would love to work on this. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Jan 15, 2009 at 8:16 PM, Bruce Snyder wrote: > On Thu, Jan 15, 2009 at 11:26 AM, Dejan Bosana

Re: Multicast Discovery not working

2009-01-16 Thread Gary Tully
can you raise a jira issue[1] for #3 and possibly #2 as the initiator of the discovery should wait for it to start imho. [1] http://activemq.apache.org/contributing.html#Contributing-Ifyoufindabugorproblem 2009/1/15 BigPic : > > > BigPic wrote: >> >> I'm using ActiveMQ 5.2.0 but I can't get clie

Selectors and QueueBrowser

2009-01-16 Thread IBeaumont
ActiveMQ 5.2 Has anyone used a QueueBrowser with selectors? I know my message properties are set correctly as they are displayed in the tooltip in the ActiveMQ web administrator when I browse the queue. However they don't return any messages when I try to query the items on the queue from code.

Re: Problem with Selector

2009-01-16 Thread IBeaumont
Sorry about opening up an old thread, by I've got all the same fustrations as Jecsiac with this issue. How can I write a deterministic system to return a message if it exists on a queue, or null if it doesn't exist. How long should I wait, a second, a minute, an hour? What if I have a million m