activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <dejan.bosa...@ttmsolutions.com>
Subject Re: Can I interact with ActiveMQ using AJAX from pages hosted on a different web server?
Date Wed, 12 Nov 2008 14:17:18 GMT
Hi,

basically you have two choices

1. create a kind of proxy for your Ajax calls (
http://developer.yahoo.com/javascript/howto-proxy.html)

2. use some of the *cross*-domain ajax stuff, such as
http://blog.monstuff.com/archives/000280.html


-- 
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




thomfost wrote:
> Can I interact with ActiveMQ using AJAX from pages hosted on a different web
> server?
>
> The idea is to have a similar thing to the portfolio webapp demo where
> messages are published to a topic and are updated in real time on the
> portfolio webpage.
>
> However, I need the web pages themselves to be hosted on a different server
> to ActiveMQ, does anyone know if this would still work? I've tried doing it
> with the portfolio webapp but the portfolio doesn't get updated even though
> the messages are published.
>
> Any help is appreciated.
> Tom
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message