Re: Using one session per message

2008-01-28 Thread James Strachan
The inactivity duration is just a way of the transport detecting early that a socket is actually dead - failover will still work without it - it just might take a while for your OS to realise a socket is actually dead. There have been a number of bug fixes in trunk lately around that; so try 5.1-SN

Re: Message properties with a period in them?

2008-01-28 Thread James Strachan
On 29/01/2008, robomon <[EMAIL PROTECTED]> wrote: > I now have a home brewed orion-activemq bridge that re-publishes messages > from either JMS system and switches the property names to "." for orion > publishes or "_" for activemq publishes. This will get me by until we can > gradually migrate fu

Re: Message properties with a period in them?

2008-01-28 Thread robomon
I now have a home brewed orion-activemq bridge that re-publishes messages from either JMS system and switches the property names to "." for orion publishes or "_" for activemq publishes. This will get me by until we can gradually migrate fully to ActiveMQ. This conversion of messages didn't work

Re: "Embedded broker", "network of brokers" and "temporary queues"

2008-01-28 Thread ttmdev
Any chance you can post the source for your test clients? Joe Eric-AWL wrote: > > Hi Everybody > > I tried the same thing with ActiveMQ 5.0.0 > > I get the same Exception "Cannot publish to a deleted Destination". > > My client embedded instance wait 20 seconds between the > "createTemporar

Stomp protocol problems

2008-01-28 Thread Sebastjan Trepca
Hi, I'm using ActiveMQ(both versions are affected) with STOMP protocol and noticed a problem with it. At least I hope it's a problem. When you ACK a message through stomp, all messages until the right one gets ACKed too. If we check the code: protected void onStompAck(StompFrame command) th

Re: Using one session per message

2008-01-28 Thread Marco Buss
I think that is not what i mean. I have a situation at testing activemq performance, where on a longer time period nothing happens at a connection. And so an Exception occurrs and i cant send other messages. I set wireFormat.maxInactivityDuration=0 to change that. If i understand it correctly the

Re: Consumer hangs

2008-01-28 Thread Rob Davies
can you raise a jira and attach a junit test case - we'll have a look On Jan 28, 2008, at 5:48 PM, activemqnewbie wrote: As suggested i tried with the latest apache-activemq-5.1-SNAPSHOT and i still have the same problem. Any suggestions? Rainer Klute-2 wrote: activemqnewbie schrieb: I

Re: Consumer hangs

2008-01-28 Thread activemqnewbie
As suggested i tried with the latest apache-activemq-5.1-SNAPSHOT and i still have the same problem. Any suggestions? Rainer Klute-2 wrote: > > activemqnewbie schrieb: >> Issue we have is different from the one you specified. >> We are testing with just one producer and one consumer to start

Using ActiveMQ in java applets

2008-01-28 Thread InquisitiveAlex
Hello. I am trying to use Active MQ 4.1 to create applet, which listen JMS messages. I have several pages with this applet. When applet starts it creates connection, topic, session and subscriber. When applet stops, it closes them. However, when I open and close web pages, where applet presents, I

Re: "Embedded broker", "network of brokers" and "temporary queues"

2008-01-28 Thread Eric-AWL
Hi Everybody I tried the same thing with ActiveMQ 5.0.0 I get the same Exception "Cannot publish to a deleted Destination". My client embedded instance wait 20 seconds between the "createTemporaryQueue" and the message send and the message receive on the temporary queue. Sometimes the queue se

Re: CMS does not correctly support prefetchSize=0

2008-01-28 Thread DominicTulley
Thanks for the prompt reply Tim. I didn't want to raise a Jira until it seemed likely that it was a defect rather than a mistake I was making. I've now raised Jira https://issues.apache.org/activemq/browse/AMQCPP-161 AMQCPP-161 to cover this. I don't have a test case at this point (the code e

Re: CMS does not correctly support prefetchSize=0

2008-01-28 Thread Timothy Bish
Its possible we don't support it correctly, I don't know as we've ever really tested that. I'd suggest you write a Jira Issue describing what you are seeing as well as some sample code that reproduces the problem so that when one of us has time we can look into it. Regards Tim. On Mon, 2008-01

CMS does not correctly support prefetchSize=0

2008-01-28 Thread DominicTulley
AMQ-850 introduced the ability to set the message prefetch size to 0. This appears to all work correctly with a java client (using a synchronous consumer) but using the C++ client libraries, it does not work. Instead, what we see is that messages are never consumed from the queue and the client s

Re: Consumer hangs

2008-01-28 Thread Rainer Klute
activemqnewbie schrieb: Issue we have is different from the one you specified. We are testing with just one producer and one consumer to start with and we are having issues with the consumer not receiving messages after sometime. But when I publish more messages ,same consumer does consumes

TransportConnector - Could not accept connection from IP...

2008-01-28 Thread Ragnar Heil
Hi since Friday we are having this issue with activemq 4.1.1. I am not aware of any system changes related to activemq 2008-01-28 15:56:22,159 [localhost:61616] ERROR TransportConnector - Could not accept connection from /86.109.253.2:59349: java.net.SocketException: Socket closed java.net.Sock

Re: Consumer hangs

2008-01-28 Thread activemqnewbie
Rainer, Issue we have is different from the one you specified. We are testing with just one producer and one consumer to start with and we are having issues with the consumer not receiving messages after sometime. But when I publish more messages ,same consumer does consumes messages and hang

Re: Consumer hangs

2008-01-28 Thread James Strachan
On 28/01/2008, activemqnewbie <[EMAIL PROTECTED]> wrote: > > For my testing purpose am running only one consumer and i still have the same > problem. What do the JConsole stats say in terms of counters (consumers, enqueue, dequeue counts etc?) -- James --- http://macstrac.blogspot.com/ Open

Re: Consumer hangs

2008-01-28 Thread Rainer Klute
Could it have to do with ? If I remember correctly, this issue has been fixed for the "multiple producers, single consumer" case by some snapshot version *after* version 5.0 had been released. However, as I discovered recently, it is still b

Re: Consumer hangs

2008-01-28 Thread activemqnewbie
For my testing purpose am running only one consumer and i still have the same problem. James.Strachan wrote: > > On 25/01/2008, activemqnewbie <[EMAIL PROTECTED]> wrote: >> >> Hi, >> We are using activemq5.o. >> Consumer after consuming certain number of messages ,hangs. >> But when i publish s

Re: Consumer hangs

2008-01-28 Thread James Strachan
On 25/01/2008, activemqnewbie <[EMAIL PROTECTED]> wrote: > > Hi, > We are using activemq5.o. > Consumer after consuming certain number of messages ,hangs. > But when i publish some more messages,consumer consumes few messages and > hangs again. > I dont see any exceptions in broker/consumer/produ

Re: JMS Client with JRE 1.2.2

2008-01-28 Thread James Strachan
On 28/01/2008, James Strachan <[EMAIL PROTECTED]> wrote: > On 26/01/2008, Juergen Mayrbaeurl <[EMAIL PROTECTED]> wrote: > > > > Thanks. I think writing a simple STOMP client would be the best way. > > Unfortunately we're currently using ObjectMessages. Do we have to convert > > the messaging to Tex

Re: JMS Client with JRE 1.2.2

2008-01-28 Thread James Strachan
On 26/01/2008, Juergen Mayrbaeurl <[EMAIL PROTECTED]> wrote: > > Thanks. I think writing a simple STOMP client would be the best way. > Unfortunately we're currently using ObjectMessages. Do we have to convert > the messaging to TextMessages? Does ActiveMQ convert ObjectMessages > automatically to

Re: Message properties with a period in them?

2008-01-28 Thread James Strachan
On 26/01/2008, robomon <[EMAIL PROTECTED]> wrote: > > I am in the process of converting from Orion JMS to ActiveMQ. In Orion we > only use Text Messages. We set a few message properties with names that > have a period in them such as test.message=Test. In Orion we could set the > selector to tes

Re: Using one session per message

2008-01-28 Thread Rob Davies
thx James - I need caffeine! On Jan 28, 2008, at 7:20 AM, James Strachan wrote: Its called failover the URI to use btw... http://activemq.apache.org/how-do-i-configure-automatic-reconnection.html On 28/01/2008, Rob Davies <[EMAIL PROTECTED]> wrote: On Jan 27, 2008, at 9:28 PM, Marco Buss wr