Ok i'll try to raise a Jira and I'll work on a possible patch ;)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Possible-bug-in-AJAX-amq-js-tp3898020p3911402.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Any suggestion or reply about this?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Possible-bug-in-AJAX-amq-js-tp3898020p3904922.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hello, i'm using an ActiveMQ snapshot 5.6 version with Ajax client to consume
messages from a topic.
I was trying to have my client unsubscribed from the topic by calling the
amq.removeHandler('id') method as it said in the documentation:
http://activemq.apache.org/ajax.html
However after getting
Any idea or suggestion about this aspect?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Error-handler-client-amq-js-tp3854682p3859042.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hello, I'm writing a web application with Ajax to consume messages from a
topic.
I was giving a look at the amq.js file and in particular at the error
handler.
I was thinking that maybe it would be very helpful to have an handler that
returns an eventual error to the caller function or maybe it w
Thank you so much, it helped a lot.
I found the way to set the path of the tmpdir as a java options for the jvm
and now it's working.
Thanks again :)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Error-starting-ActiveMQ-as-a-Windows-Service-tp3833945p3836356.html
Sent f
Hello, i'm using activeMQ 5.6 SNAPSHOT on Windows 7 and java SE 7.
I successfully installed it as a service but when i try to start it i get an
error and it doesn't start.
Watching at the wrapper.log file here is what i get:
INFO | Listening for connections at: tcp://0.0.0.0:61611
INFO | jvm
Since I also got myself into this problem I would like to know if it's a
known issue (and maybe solved in any recent snapshot)
Thanx
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ajax-clients-must-refresh-browser-to-get-data-tp2550864p3791290.html
Sent from the ActiveMQ
Hello, this is my situation:
I have a topic on which i publish several messages and after the last one i
stop publishing on the topic.
Later I subscribe to this topic with an AJAX client.
Is there a way to recover the last message published on the topic so that
the client can receive it?
--
V
Hey thanks for the quick reply, I already saw and used websocket over stomp
;)
I was interested to know if it was possible to use stomp even with Ajax and
expecially with amq.js?
Thanks again.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/amq-js-with-Stomp-tp3776084p37
Hello, is it possible to use the amq.js client over stomp protocol?
If it is how should the activemq.xml file look like in order to do so?
Thanks in advance.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/amq-js-with-Stomp-tp3776084p3776084.html
Sent from the ActiveMQ -
I just tried the 5.6 SNAPSHOT and the problem is gone :)
Thank you Timothy, have a nice day.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Error-with-ActiveMQ-5-5-and-websocket-over-Stomp-client-tp3480420p3489788.html
Sent from the ActiveMQ - User mailing list archive at
Hi Alex, first of all thanks for the help
I ran some other tests and I have different results depending on the data
i'm consuming on the topic.
For example if i send a message like this :
Try this
I get the result correctly.
Instead if i send a message like this :
Hello, I'm using a ruby client and activemq 5.5 to publish messages on a
topic and then i would like to consume them with a js client using websocket
over Stomp.
Now i'm using Jeff Mesnil js client and it worked great with Activemq 5.4,
however with the 5.5 version i'm experiencing a serious troub
Really, nobody has any idea at all?
Would be very useful to understand if it's a js' client problem or a problem
of my code.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/testing-WebSocket-STOMP-support-getting-occasional-No-transportListener-available-errors-tp2359504p
Anyone has any idea or suggestion about this problem?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/testing-WebSocket-STOMP-support-getting-occasional-No-transportListener-available-errors-tp2359504p3425025.html
Sent from the ActiveMQ - User mailing list archive at Nabble
Hello, I'm having the same problem occasionally. I use websocket over
stomp(Jeff Mesnil's javascript) to connect to a topic and sometimes i get
this message and can't manage to connect.
What does this problem depend on?
Is there a solution for it?
Thanks in advance for the help.
--
View this m
Hello, I'm experiencing the same problem. I have a javascript application
connecting to a topic over websocket with stomp and sometimes I get this
error and can't manage to connect.
Does anyone know what it depends on?
Is it a bug of the Stomp js client(Jeff Mesnil's one) ?
Is there a way to sol
Thank you :) I managed to solve the problem by inspecting the object message
;)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Porblem-extracting-XML-data-in-Firefox-with-ActiveMQ-Ajax-client-tp3220032p3224749.html
Sent from the ActiveMQ - User mailing list archive at Nab
Any idea about this?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Porblem-extracting-XML-data-in-Firefox-with-ActiveMQ-Ajax-client-tp3220032p3220940.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hello, i'm using an activeMQ Ajax client to consume messages (XML data)
published on a topic.
I manage to get the messages however i have some trouble to get them as XML
using Firefox.
This is the code I'm using to process the received messages :
var myHandler =
{
rcvMess
Ok, thank you :)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Timeout-using-WebSocket-over-Stomp-tp3216002p3217434.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Ok, I found one solution is to send within the 300 seconds a message to a
topic or queue to keep the socket open but can i set some option or
parameter in the connectors of the activemq.xml file in order to keep the
connection open?
--
View this message in context:
http://activemq.2283324.n4.nab
Hello, I'm using websockets to connect over stomp to a topic. It's all
working but after 300 seconds it seems that the connection goes in timeout
and I don't get messages anymore.
Is there a way to keep the connection alive using stomp?
Do i have to modify the activemq.xml file? In which way?
Ok, I followed your advice and I started from scratch with a minimal amq
client. It worked and I added code step by step. Now I have a quite fully
working client apart from this problem :
When i get the messages of a topic i want to show them on the browser
window so I'm using this code :
Updates :
I tried with dojo and prototype adapters and i have the same problem. It
works on Chrome and Safari and doesn't on firefox, Opera and even Explorer
:(
I really don't know the reason of this behaviour...
Thanks in advance and happy new year to all :)
--
View this message in context:
Stomp.js is a javascript used in the communications via websocket so it
doesn't affect the communication via Ajax i posted before ( i cut the part
of websocket code )
I modified the amq.js code following the patch indications but the problem
still remains unsolved :(
Tried to refresh the page bu
Ok the client code works well with Chrome and Safari. It connects itself to
the topic, gets the messages and make them visible.
Instead when running with Firefox (any version) and Opera it doesn't work. I
can see from the admin page of ActiveMQ that there's a consumer who dequeues
the messages, h
I added the content header as you told me in my Ruby client and i get a
strange behaviour...
When i run the Ajax client sometimes it connects and gets the messaged from
the server correctly (i can see the messages looking at the response) and
sometimes it doesn't connect and the response looks li
I checked the server response and this is what i get :
Headers :
Request
URL:http://localhost:8161/demo/amq?timeout=45000&d=1293017028128&r=0.2588740265928209
Request Method:GET
Status Code:200 OK
Request Headers
Accept:application/xml, text/xml, */*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Ok, I just commented the line "headers[ 'Connection' ] = 'close';" and now
from the admin page i can see my client connecting to the topic and
consuming the messages
Now the only problem left is that these messages aren't showed on the
browser.
This is the code I'm running :
amq.init({ uri: 'am
I was running my code not on the webserver, now i put it under the
http://localhost:8161/demo/ directory and i started it again and now i get
this error under chrome :
Refused to set unsafe header "Connection"
What does it depend on?
--
View this message in context:
http://activemq.2283324.n4
Alex Dean-2 wrote:
>
> What's returned by the server? Is it maybe one of these?
> * "" : This is what a timeout looks like.
> No messages received.
> * " destination='topic://topic/ActiveMQFeed' >" :
> This is what it looks like when the server delivers a binary message.
>
How can i see wh
Ok, it was my fault :(
I just discovered that it can be solved simply by publishing on a topic
instead of a queue ;)
Now i have another question :
Are there only these two kinds of data structures (topic and queue) to store
messages on ActiveMQ?
--
View this message in context:
http://activem
Hello, i'm using ActiveMQ 5.4.2 on Windows 7. I'm running a Ruby client which
creates a topic named "/queue/ActiveMQFeed" using Stomp Protocol and publish
on it an indexed message every 3 seconds.
Now i want to get these messages through several clients's browsers. Now the
problem is that if i ru
35 matches
Mail list logo