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
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' );
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:
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
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
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)
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
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
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
10 matches
Mail list logo