[ 
https://issues.apache.org/activemq/browse/AMQ-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47634#action_47634
 ] 

Dejan Bosanac commented on AMQ-2014:
------------------------------------

It seems that portfolio.js never subscribes to destinations (at least Firebug 
says so) by issuing a POST call. 

So if I change

amq.addPollHandler(portfolioPoll);

with direct 

amq.addListener('stocks','topic://STOCKS.*',priceHandler._price);

everything works fine.

I'm not sure yet why there is a difference in behavior, since there were no 
code changes in this part of the source tree.

Can others confirm this issue?


> Stock portfolio Ajax example does not work
> ------------------------------------------
>
>                 Key: AMQ-2014
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2014
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>            Reporter: Dejan Bosanac
>
> The page doesn't get refreshed like no messages are being received.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to