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 investigate it further. I've also noticed that stock portfolio ajax demo does not work on fresh 5.2 install.
Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net Pete Kay wrote: > 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 org.apache.activemq.command.ActiveMQTopic > Subscribed: ActiveMQMessageConsumer { > value=ID:localhost.localdomain-42050-1227454795051-0:0:1:3, started=true } > to topic://test id=undefined > unknown type listen > > > > When a message is fired, i see this: > > message for ActiveMQMessageConsumer { > value=ID:localhost.localdomain-42050-1227454795051-0:0:1:3, started=true > }continuation=null > > But the message is not being received in the browser. > > Any idea? > > Thanks alot in advance for all your help. > Pete > >