Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-28 Thread chago
You have created two channels, sorta; the first is topic://doChat and the second is '/topic/ChatTopic', which does not conform to the url notation that you should be using. That might be your problem. I assume that you have your own server-side Java classes that listen for incoming messages on to

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-27 Thread JigarP
Hi Chago, you have explain each scenario clearly. just want to know that at server side/client side what sort of confuguration should i do so that atleast it will not destroy my consumer. i am attaching my client side code let me know if you get some clue. Below three methods i am calling i

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-27 Thread chago
When amq.addListener(id, destination, handler) is invoked for the first time, the javascript class creates a POST request to the AjaxServlet. The AjaxServlet is really just a facade to the MessageListenerServlet which in turn extends MessageServletSupport. The POST request takes the Javascript par

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-26 Thread JigarP
Hi Chago, Ya, you are right. when _amq.js is loaded polling will start. i agree that that time listener will not be there but when i register my listener using amq.aadListener then after it should get data,rgt. so even if i have registered my listener i was not able to get any messages. so i t

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-26 Thread chago
The polling begins as soon as the page is loaded and the _amq.js fle is processed. It is quite probable that their are no consumers at this time. A consumer isn't created until the amq.addListener() function is invoked. Can you post your code? -- jim JigarP wrote: > > Hi Chago, > I had

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-26 Thread JigarP
Hi Chago, I had checked out whole activemq +ajax forum and i had found the same issue related question posted but they where not having any reply for that. I think whn polling happens then it does not have any consumer so it is not goin inside for loop itself. can you tell me if you ca

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-26 Thread chago
Unfortunately, I am familiar only with the javascript client portion of the puzzle. The MessageListenerServlet itself is the entity that establishes the JMS connection with the broker. (Hope my terminology is correct there.) The servlet acts as a pass-through proxy to the javascript client. If you

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-25 Thread JigarP
Hi Chago/James, you are right. I had same problem and because of this i am not able to use latest tech. provided by Activemq and jetty(Continuation). I am facing only one issue that is whenever client do polling that time i am not getting any consumer for that client so even if we have data

Re: Able to send message to ActiveMQ but Not getting reply to Client

2007-09-25 Thread chago
I know others that have had this problem running with the 4.1.x series. Is that the case for you? -- jim JigarP wrote: > > Hi , > >I am using ActiveMQ/AJAX for my web based application. I have > integrated ajax successfully in my application but getting below issue > sometime. > > 1) I s