Re: Is anyone else seeing messages stuck on a queue?

2007-02-01 Thread rajdavies
Has anyone who is experiencing this problem also see in it in the 4.1.0 snapshot ? http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/4.1-incubator-SNAPSHOT/ YoungSoul wrote: > > > I see this frequently - and I just can't believe that others are not > ei

durable subscriptions

2007-02-01 Thread Suchitha Koneru \(sukoneru\)
Hello activemq users , In my project we'll be using durable subscriptions. Is there any example or code sample which explains the usage of durable subscriptions using active mq ? please let me know, thanks, Suchitha.

RE: Network broker fails to start due to JournalLockedException

2007-02-01 Thread Nilantha Jayalath
Just a thought Check whether the broker names are identical. I saw something like that as a response to a similar issue. -Nilantha -Original Message- From: William Blackburn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 4:47 PM To: users@activemq.apache.org Subject: Networ

Network broker fails to start due to JournalLockedException

2007-02-01 Thread William Blackburn
I am using two embedded brokers on two nodes and using a network connector to link them. I thought I had configured AMQ to NOT use the journal, but now I can start one broker just fine, but when I start the second, I get a JournalLockedException, which does not impact the functioning of the

RE: Queue question

2007-02-01 Thread Suchitha Koneru \(sukoneru\)
Please read about queueing and durable subscriptions from the following link http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/basics.html -Original Message- From: GaryG [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 11:49 AM To: activemq-users@geronimo.apache.org S

RE: Queue question

2007-02-01 Thread Suchitha Koneru \(sukoneru\)
When you use a queue connection , irrespective of other settings, message delivery is guaranteed. When you use a topic connection , message delivery is guaranteed only when the delivery mode is persistent and the subscriber is durable. Suchitha. -Original Message- From: GaryG [mailto:[E

Re: Queue question

2007-02-01 Thread James Strachan
Persistence v non persistence only applies to what happens to messages if you reboot the broker; otherwise the semantics are pretty similar. If you don't want a message to be sent to consumers which are not there, don't use a queue, use a topic. On 2/1/07, GaryG <[EMAIL PROTECTED]> wrote: I'm

Queue question

2007-02-01 Thread GaryG
I'm doing some simple communication between two peers via a Queue, and I'm noticing odd persistence behavior. Even though both the producer is set with DeliveryMode.NON_PERSISTENT, what I see happen is this: 1) Bring up AMQ broker 2) Bring up Producer and send 5 test messages. At this point the

Re: C# .NET Development is not possible at this point with ActiveMQ

2007-02-01 Thread Christopher G. Stach II
sparky2708 wrote: > Just FYI, C# .NET Development is not possible at this point with ActiveMQ C# > NMS Client as establishing a connection will fatally crash the client (see > JIRA). Please, please, please address this issue ASAP as this is a show > stopper for all of us that are trying to use Acti

C# .NET Development is not possible at this point with ActiveMQ

2007-02-01 Thread sparky2708
Just FYI, C# .NET Development is not possible at this point with ActiveMQ C# NMS Client as establishing a connection will fatally crash the client (see JIRA). Please, please, please address this issue ASAP as this is a show stopper for all of us that are trying to use ActiveMQ across different pla

RE: No effect on maximumRedeliveries setting

2007-02-01 Thread Nilantha Jayalath
FYI -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 11:58 AM To: users@activemq.apache.org Subject: Re: No effect on maximumRedeliveries setting I'd certainly recommend never using the org.apache.activemq.pool.PooledConnectionFactory fo

RE: failed to checkpoint a message store?

2007-02-01 Thread Nilantha Jayalath
Probably this would help... Try setting if you have set as "true" in your data source configuration. see http://www.nabble.com/DB-connection-pool-tf2775515.html for more details. This resolved few issues I had including this "failed to checkpoint" -Nilantha -Original Message- From: pt

Re: AMQ release schedule

2007-02-01 Thread James Strachan
Fair point. One thing which should help now is that we're now a top level project (http://activemq.apache.org) so the ActiveMQ PMC can do a single vote to make a release - rather than a 2 stage thing with the Incubator stuff which hopefully will mean less work & faster turn around time of releases

failed to checkpoint a message store?

2007-02-01 Thread ptomsic
this keeps occurring in our log, any thoughts/suggestions? ERROR JournalPersistenceAdapter - Failed to checkpoint a message store: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException: Not started. edu.emory.mathcs.backport.java.util.concurrent.ExecutionEx

Re: No effect on maximumRedeliveries setting

2007-02-01 Thread Christopher G. Stach II
James Strachan wrote: > I'd certainly recommend never using the > org.apache.activemq.pool.PooledConnectionFactory for anything other > than sending messages with Spring's JmsTemplate as described here > http://activemq.apache.org/spring-support.html > > am not sure if thats causing the issue or n

Re: JXTA Support

2007-02-01 Thread James Strachan
On 1/31/07, Jeff Gunther <[EMAIL PROTECTED]> wrote: Does anyone have any experience with ActiveMQ's support of JXTA? I tinkered with it a while back; it depends on the use of JXTA's P2PSocket stuff http://svn.apache.org/repos/asf/activemq/sandbox/jxta/ but needs a bit of love to get back in s

Re: Can't set prefetch size!

2007-02-01 Thread James Strachan
On 1/25/07, magic.moose <[EMAIL PROTECTED]> wrote: Hi. AMQ4.1.0, Jencks, Spring 1.2.7. Prefetch size for all queues is always 10. I tried to CHANGE it in many places: - in broker url (both in conf xml and embedded into connectionFactory). - in activationSpec destination name. - in xml config

Re: NullPointerException when trying to set String propertyu

2007-02-01 Thread James Strachan
It looks like the property is not being sent. Typically when you receive a message its meant to be read only - and you are generally meant to create a new message for sending. It could be that there is a bug when you try mutating a message and then sending it on. (A JUnit test case proving this f

Re: 2007 Extended Daylight Saving Time

2007-02-01 Thread James Strachan
On 1/25/07, Darryl Bowler <[EMAIL PROTECTED]> wrote: Are they any issues with ActiveMQ and this years extended daylight saving time? None that I'm aware of -- James --- http://radio.weblogs.com/0112098/

Re: Newbie Questions

2007-02-01 Thread James Strachan
On 1/26/07, saleem145 <[EMAIL PROTECTED]> wrote: Hello, I am trying to build a very simple finance application. I would like to use a message bus to broadcast stock prices. The publisher would connect to an exchange, get the prices and publish them onto the message bus. The subscribers would co

Re: No effect on maximumRedeliveries setting

2007-02-01 Thread James Strachan
I'd certainly recommend never using the org.apache.activemq.pool.PooledConnectionFactory for anything other than sending messages with Spring's JmsTemplate as described here http://activemq.apache.org/spring-support.html am not sure if thats causing the issue or not. If not it could be a Spring

Re: Is so good ActiveMQ’s InputStream?

2007-02-01 Thread James Strachan
On 1/29/07, cafe <[EMAIL PROTECTED]> wrote: Actually those questions are opposite to my point. Let mi tell you: My app need to send files (over 300mg) to different clients (over 100 clients in different PC) so I need only a strategy for sending and receiving these files. Now my questions are: 1-

No effect on maximumRedeliveries setting

2007-02-01 Thread Nilantha Jayalath
I am using Sprin's DefaultMessageListenerContainer to consume messages. What I noticed was "maximumRedeliveries" setting is not effective for some reason. It just keeps redelivering messages. Following is my connectionFactory setting. According to the ActiveMQ documentation it seems a "Poison ack

Re: list moved

2007-02-01 Thread Cyrille37
Hello. The subscribe address on http://www.activemq.org/site/mailing-lists.html is still the old one. Regards, cyrille Joe Schaefer a écrit : This list has moved to users@activemq.apache.org The old address still works, but from this point forward you should use the new one.

Re: C#/.NET implementation see problem but don't know how to fix it

2007-02-01 Thread sparky2708
Protecting it doesn't work. This is probably some part of the protocol so I can't just make that change. Ok, I guess at this point I am stuck. sparky2708 wrote: > > Did some more debugging and narrowed down the problem: > > in WireFormatNegotiator the "command" is sometimes "Null" -- not sure

Re: C#/.NET implementation see problem but don't know how to fix it

2007-02-01 Thread sparky2708
Did some more debugging and narrowed down the problem: in WireFormatNegotiator the "command" is sometimes "Null" -- not sure why it happens or how to fix it except to protect the following statement: protected override void OnCommand(ITransport sender, Command command) { i

RE: JDBC persistance in AMQ 4.1.0

2007-02-01 Thread Nilantha Jayalath
Thank you James, -Nilantha -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 8:38 AM To: activemq-users@geronimo.apache.org Subject: Re: JDBC persistance in AMQ 4.1.0 On 1/30/07, Nilantha Jayalath <[EMAIL PROTECTED]> wrote: > Hi Rob, > T

Re: Suggestion on how to get a unique id for a queue?

2007-02-01 Thread James Strachan
On 1/26/07, cafe <[EMAIL PROTECTED]> wrote: no, I can't because the client request to the server inside a MessageListener and when the method onMessage end the execution the temporary queue is destroyed. Not quite. A temporary destination is only destroyed when the connection which created it

Re: load balance topic consumer

2007-02-01 Thread James Strachan
On 1/30/07, igah <[EMAIL PROTECTED]> wrote: that's precisely what i was looking for. thanks! now the naming convention seems a little bit odd. if i have arbitrary/fixed/predefined names for topic and queues (say foo and bar), can i link them up? You can explicitly configure in the activemq.xm

Re: Force JDBC persistence

2007-02-01 Thread James Strachan
This question was answered in the other thread you raised http://www.nabble.com/Re%3A-JDBC-persistance-in-AMQ-4.1.0-p8718202.html On 1/30/07, Nilantha <[EMAIL PROTECTED]> wrote: I am testing JDBC persistence with one broker and my "persistenceAdapter' configuration is as follows,

Re: JDBC persistance in AMQ 4.1.0

2007-02-01 Thread James Strachan
On 1/30/07, Nilantha Jayalath <[EMAIL PROTECTED]> wrote: Hi Rob, Thank you for the response and your time. Actually my main worry is what happens if my journal files are lost due to a hardware failure before moving messages into the long term store. Then you are hosed. If you cannot rely on loc

Re: Does ActiveMQ 4.2 client jars support Java 1.4?

2007-02-01 Thread James Strachan
I replied to this in the same thread on the dev list http://www.nabble.com/Re%3A-Does-ActiveMQ-4.2-client-jar-support-Java-1.4--p8747757.html On 1/31/07, Miing <[EMAIL PROTECTED]> wrote: Hi, I've read in the developers' forum that release 4.2 will require Java 5 to run. Will it be the same f

Re: Are Exclusive Consumer queues honored across a broker cluster?

2007-02-01 Thread James Strachan
On 1/31/07, elliottjf <[EMAIL PROTECTED]> wrote: Hello, I'm attempting to use the "consumer.exclusive=true" destination option against a cluster of brokers, but it's appearing that consumers attached to different brokers are not getting excluded from each other. Is this expected behavior, or ar

Re: C#/.NET implementation not working

2007-02-01 Thread sparky2708
Could there be something wrong with the C#/.NET release in the HEAD of SVN? Shouldn't there be some stable tag or branch that I need to check out? sparky2708 wrote: > > A few days ago I checked out the latest C#/.NET code using svn as per the > instructions on the website. I built the code with

Re: Message lost during failover

2007-02-01 Thread Bernard Niset
Hi, My previous message didn't get any feedback. Today, I tried several other settings and seem to get good results with durable=true (sets delivery mode to persistent). However it seems that in some cases I get duplicate messages. I'll investigate more... Any help from people that tested a simi

Re: How to limit a queue capacity

2007-02-01 Thread James Strachan
You could also write an Interceptor to block (or reject) inbound messages from being sent if the queue is too big. http://incubator.apache.org/activemq/interceptors.html On 1/31/07, itayke <[EMAIL PROTECTED]> wrote: There is something I don't understand: In here http://incubator.apache.org/ac

NullPointerException when trying to set String propertyu

2007-02-01 Thread miniman
All i am trying to put in a string property on my published messages that i can group messages together, so that when messages come into the receiver i can check what type of message it is, and filter on them. When i try this i get this error. Message message = null;

Re: activemq cms stomp - creating a topic from message->getCMSReplyTo() does not work

2007-02-01 Thread Nathan Mittler
Hi Lalit, I could tell from the code that you were using the 1.0 version of activemq-cpp. The new code uses cms::Destination objects on the get/set CMSReplyTo methods. Please give the latest trunk a try. BTW, svn has been moved. You can get the latest trunk here https://svn.apache.org/repos/as

Re: installation problems

2007-02-01 Thread Adrian Co
Please post what you did and what went wrong. harbhai wrote: hi ! I'm a student of IT and I need to install ActiveMQ for Fedora Core 5. So far I've been unsuccessful, I need the installation procedure step-by-step and fast! thanks, Harikrishnan

installation problems

2007-02-01 Thread harbhai
hi ! I'm a student of IT and I need to install ActiveMQ for Fedora Core 5. So far I've been unsuccessful, I need the installation procedure step-by-step and fast! thanks, Harikrishnan -- View this message in context: http://www.nabble.com/installation-problems-tf3153644.html#a8744836 Sent f

TEST at users@activemq.apache.org

2007-02-01 Thread Cyrille37