Yes, it looks like this can be an acceptable workaround until amq.js is
fixed. The trick is to use something like ExtJS' Ext.Loader.loadScript()
function to bring in a second or third or fourth copy of amq.js, then
encapsulate it in a function. Here's what's working for me:
function startAMQ ()
I wonder if there's a way around this by somehow cloning the amq.js library
within a single browser tab? That way, I could call amq_init with different
clientIds and reference it that way.
Something like:
amqInstance1 = new amq();
amqInstance1.amq_init( clientID: 'client1' );
amqInstance1.addlis
I've been having a problem with the ActiveMQ AJAX handler and believe I found
a bug, and would like to post here to see if anyone else has run across the
same problem.
I'm using ExtJS to create two separate panels which run in one browser tab.
After loading jquery, amq_jquery_adapter.js and amq.j
Just to confirm, I am able to do cross-domain requests to ActiveMQ against
the Jetty server. If you pay close attention to the documentation you won't
go too far wrong but unfortunately, there are some incorrect instructions
for how to set it up on various web sites. In general, the given samples
Hi Tim,
Thanks for taking the time to respond. I think you meant to write that the
http: and https: protocols are NOT currently supported in NMS, correct?
Although I'm not familiar with the NMS internals, I'm happy to have a look
at what it would take to implement them. Can you point me in the
I've since learned that the sandbox restricts the use of all communication
protocols except http: and https:. Is there a way to get NMS to communicate
with ActiveMQ via those protocols?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/NMS-NET-4-0-Sandbox-Security-Question
I'm trying to use NMS Version 1.6.0 with my code ('IntPub') that must run in
a sandbox in a .NET 4.0 environment for security reasons. The code that
creates the sandbox makes my code 'partially trusted' and therefore
'security-transparent' which seems to mean that it can't create a
ConnectionFacto
Hi Christian,
This helped a lot. I got confused between Stomp over Websockets vs Stomp
over tcp. There are lots of different docs that don't make this very
clear--if you happen to read the Stomp over WS docs first you might get the
idea that it is the only (or preferred) method of connecting to
I'm a bit confused by the config for Stomp and have found seemingly
conflicting info in the documentation. Please help!
I'm planning to have a stand-alone ActiveMQ server exposed to the public
internet running on a Windows Server 2008 r2 (URL: my.webserver.com). There
will be several local clien
Christian,
Thanks for pointing me in the right direction. Here's my code that seems to
work so others can use it. That said, I'm really nervous about using
reflection to get at the brokerConnectionStates collection. There must be a
better way to do this...
@SuppressWarnings("unchecked")
Thanks, Christian.
To put it more succinctly, what I want to do is retrieve the userName for a
given ConnectionId returned by the Advisory onMessage function.
Do you think JMX is the easiest way to do this? Can't I use the
BrokerService or some other object I have created in the embedded ActiveM
I'm stuck on something that is probably obvious but I just can't figure out
how to do it.
What I want to do is retrieve the userName from an incoming Stomp
connection. I am creating the broker in my code and have also set up
monitoring Advisory messages. The Advisory onMessage() function rece
Rob,
I'm stuck on something that is probably obvious but I just can't figure out
how to do it.
What I want to do is retrieve the userName from an incoming Stomp
connection. I am creating the broker in my code and have also set up
monitoring Advisory messages. The onMessage function receives t
13 matches
Mail list logo