Re: Having problem listening for Activemq message from Ajax

2008-11-25 Thread Dejan Bosanac
Hi Pete, you have to add a poll handler in order to successfully subscribe to a destination. Also, if you are sending to topics, it is good idea to add a timeout, between subscribing and sending. Attached is an example that works (to some point at least). It seems to get every other message. I'll

Re: Having problem listening for Activemq message from Ajax

2008-11-22 Thread Pete Kay
Hi, Sorry for sending multiple messages to the group. I turned on the log, Where listening, I see this: POST [EMAIL PROTECTED] session=kl0ygt26rj4p info=null contentType=application/x-www-form-urlencoded; charset=UTF-8 0 destination=topic://test message=undefined type=listen topic://test is a