Re: Error with ActiveMQ 5.5 and websocket over Stomp client

2011-04-28 Thread Alex Dean
On Apr 28, 2011, at 3:24 AM, stratio wrote: > 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. I believe you've had problems in the past consuming XML messages which contain embe

Re: ajax handling fast messages

2011-03-07 Thread Alex Dean
On Mar 6, 2011, at 7:13 PM, alikic wrote: > > alikic wrote: >> >> I hit this issue (AMQ-3094) with 5.4.2. Thanks for the great work on >> fixing it! >> >> Is there a way (and is it safe) to apply the fixes for AMQ-3094 to 5.4.2, >> or is it better to just grab the latest snapshot from svn? Do

Re: Persistent Stomp connection

2011-02-18 Thread Alex Dean
On Feb 18, 2011, at 6:44 AM, Jeff Rose wrote: > Hi, > I'm using a set of back-end services to drive a PHP application. > Currently I have to connect to ActiveMQ with a new Stomp instance for every > request, but I'd like to use a pool of persistent connections like MongoDB > or MySQL offers. Do

Re: ActiveMQ 5.4.2 Ajax interface losing message ids under stress

2011-02-16 Thread Alex Dean
On Feb 15, 2011, at 9:34 PM, habumaster wrote: > > Looking for debug ideas on this - I am happy to capture any data to help? So you have a single browser window, and for some reason it is creating multiple ajax poll requests which are running concurrently? It would be helpful to see: * Your

Re: Ajax and Tomcat 6 - based on web-demo with a non embedded broker

2011-02-09 Thread Alex Dean
On Feb 9, 2011, at 11:00 AM, patrice wrote: > but, it does not work. I traced request, there are send from the web page, > but nothing is updated,... > looking at log file I can see the following error > > java.lang.IllegalStateException: !(Jetty || Servlet 3.0 || > ContinuationFilter) > > org

Re: ActiveMQ 5.4.2 Ajax interface losing message ids under stress

2011-02-09 Thread Alex Dean
On Feb 8, 2011, at 4:13 PM, habumaster wrote: > > Also seeing Gets receiving responses but continuing to spin, even though > another Get is spawned. > They start piling up and browser gets busy with all the Gets... So your browser has multiple polls (GETs) underway at the same time? Are a

Re: Memory leak using Ajax

2011-02-01 Thread Alex Dean
On Feb 1, 2011, at 4:29 AM, stratio wrote: > > Hello, i'm using an ActiveMQ Ajax client wich reads a message from a topic > and do nothing, just receive the message. If i run it with firefox I have a > tremendous amount of memory usage and i don't know why cause in other > browsers it doesn't hap

Re: ActiveMQ 5.4.2 Ajax interface losing message ids under stress

2011-01-29 Thread Alex Dean
On Jan 28, 2011, at 5:21 PM, habumaster wrote: > > Now that I have the Ajax servlet working - stressing it a little and finding > bad message ids popping up. > > This is just one - if I send in about 20 I am losing 3-4 of them to this > error. > > Looks as if the Ajax response indo on the ID i

Re: ActiveMQ "message" defined?? from the docs/web links

2011-01-28 Thread Alex Dean
On Jan 27, 2011, at 10:25 AM, habumaster wrote: > > "3. A HTTP response is returned to the client containing all available > messages encapsulated as text/xml" > > How does AMQ decide that messages are separate in a stream received? Which part of ActiveMQ are you referring to? The broker wi

Re: ActiveMQ Monitoring Tools

2011-01-24 Thread Alex Dean
On Jan 24, 2011, at 2:40 AM, Aleksandar Ivanisevic wrote: > Alex Dean writes: > >> I use a nagios script to periodically publish a stomp message to a >> queue, and then consume that message. It doesn't provide anything >> more than "is ActiveMQ u

Re: Question about ajax.html examples on website

2011-01-22 Thread Alex Dean
On Jan 22, 2011, at 9:23 AM, habumaster wrote: > > > Alex Dean-2 wrote: >> >> >> On Jan 21, 2011, at 11:13 PM, habumaster wrote: >> >> >> Replies inline. It seems I am getting to 8161 and it is returning the >> welcome page for Active

Re: Question about ajax.html examples on website

2011-01-21 Thread Alex Dean
On Jan 21, 2011, at 11:13 PM, habumaster wrote: > > Going the servlet route.. Your app is running on a main server, not a virtual > one I am guessing. I've run this kind of setup successfully on a single machine (OSX), on multiple physical servers (Centos5), and on multiple OpenVZ guests (Cent

Re: ActiveMQ Monitoring Tools

2011-01-21 Thread Alex Dean
I use a nagios script to periodically publish a stomp message to a queue, and then consume that message. It doesn't provide anything more than "is ActiveMQ up/down" (no additional statistical information), but it's been useful for us. If there's interest, I can ask mgmt about open-sourcing it.

Re: Question about ajax.html examples on website

2011-01-20 Thread Alex Dean
On Jan 19, 2011, at 11:21 PM, habumaster wrote: > > Ah you can send Stomp to ActiveMQ and get text back out - just add the > {'amq-msg_type'='text'} header to the stomp send and it goes as text. One typo. You need all hyphens, no underscores. {'amq-msg-type'=>'text'} > > > Problem is now

Re: ajax handling fast messages

2011-01-17 Thread Alex Dean
On Jan 12, 2011, at 7:43 AM, Jeff Rose wrote: > On Wed, Jan 12, 2011 at 12:29 AM, Alex Dean wrote: > >> >> On Jan 11, 2011, at 8:14 AM, Jeff Rose wrote: >> >>> On Mon, Jan 10, 2011 at 4:57 PM, Alex Dean wrote: >>> >>>> >>>>

Re: Porblem extracting XML data in Firefox with ActiveMQ Ajax client

2011-01-17 Thread Alex Dean
On Jan 17, 2011, at 9:28 AM, Alex Dean wrote: > > 2. In your callback function, I believe message.nodeValue will be available > in either browser, and will be a string containing the message sent by the > server. I looked at this a little more, and nodeValue can have differ

Re: Porblem extracting XML data in Firefox with ActiveMQ Ajax client

2011-01-17 Thread Alex Dean
1. You have jquery available, which can make a lot of 'document.getElementById()' & other lower-level JavaScript unnecessary. jQuery is also pretty good at smoothing out the differences between JS implementations in different browsers. 2. In your callback function, I believe message.nodeValue

Re: Question about ajax.html examples on website

2011-01-14 Thread Alex Dean
On Jan 13, 2011, at 4:13 PM, habumaster wrote: > > http://activemq.apache.org/ajax.html http://activemq.apache.org/ajax.html > > is the link I am referencing. > > The statement: > "The AMQ AjaxServlet needs to be installed in your webapplications to > support JMS over Ajax:" > > I see this

Re: queue still exist even after removal from conf/activemq.xml

2011-01-13 Thread Alex Dean
On Jan 13, 2011, at 3:15 PM, konura wrote: > Please help me get read of this obsolete queue. In the web admin, visit the Queues page and click the 'Delete' link next to the queue's name. I see three possible actions for each queue, 'Send To', 'Purge', and 'Delete'. alex

Re: ajax handling fast messages

2011-01-11 Thread Alex Dean
On Jan 11, 2011, at 8:14 AM, Jeff Rose wrote: > On Mon, Jan 10, 2011 at 4:57 PM, Alex Dean wrote: > >> >> On Jan 10, 2011, at 5:02 AM, Jeff Rose wrote: >> > > The last issue I do see is that fairly often the consumer stops listening to > the topic even

Re: ajax handling fast messages

2011-01-10 Thread Alex Dean
On Jan 10, 2011, at 5:02 AM, Jeff Rose wrote: > On Sat, Jan 8, 2011 at 2:11 AM, Alex Dean wrote: > On Dec 14, 2010, at 9:48 AM, Jeff Rose wrote: > > > Hi Alex, > > Thanks for the response. We looked into it a bit more based on your > > suggestion, and we discov

Re: ajax handling fast messages

2011-01-07 Thread Alex Dean
On Dec 14, 2010, at 9:48 AM, Jeff Rose wrote: > Hi Alex, > Thanks for the response. We looked into it a bit more based on your > suggestion, and we discovered that there is an error occurring when the > continuation is resumed in onMessageAvailable in AjaxListener.java. It > looks like this onM

Re: ajax handling fast messages

2011-01-03 Thread Alex Dean
Dejan : Saw your commits in https://issues.apache.org/jira/browse/AMQ-3094. When I publish many messages quickly (either via Ruby/stomp or via ajax), I still do not receive all messages in an ajax client. I have been trying to get a Java test case created which reproduces the problem. I suspe

Re: Problem with Ajax API

2010-12-31 Thread Alex Dean
On Dec 31, 2010, at 8:04 AM, stratio wrote: > > 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 adv

Re: Problem using Ajax to listen to a queue/topic

2010-12-31 Thread Alex Dean
On Dec 29, 2010, at 12:13 PM, alikic wrote: > > OK, mystery solved:) > > I forgot to mentioned that I am *NOT* using any of the standard AMQ Ajax > adapters that come with ActiveMQ distribution. As I am experimenting with > Sencha Touch, I created a Sencha Touch adapter by looking at how the jQ

Re: Problem with Ajax API

2010-12-28 Thread Alex Dean
On Dec 27, 2010, at 2:56 PM, stratio wrote: > > Ok i'm going almost crazy, i tried it in every different way but everytime i > get the same result. My code works on Chrome and Safari and doesn't work on > Firefox and Opera :(. I tried it both on win 7 and ubuntu... This is the the > index.html p

Re: ajax handling fast messages

2010-12-22 Thread Alex Dean
On Dec 17, 2010, at 1:14 PM, Alex Dean wrote: > > On Dec 16, 2010, at 5:33 PM, Alex Dean wrote: > >> >> I'll get a useful test written up tomorrow morning, and create a new JIRA >> issue if Jeff doesn't beat me to it. > > I've created https:/

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 10:32 AM, stratio wrote: > > 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)

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 3:13 AM, stratio wrote: > 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 I checked this issue in Chrome, and while I do see the error you reported ("ref

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 5:32 AM, stratio wrote: > Content : > > > > > > > > > So I guess that the reason for which i don't see anything on the browser is > that the response is a binary message. I saw this > https://issues.apache.org/jira/browse/AMQ-2833 about this problem > (considering i'm

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 11:54 AM, stratio wrote: > > 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

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 11:07 AM, stratio wrote: > > > 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='

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 9:54 AM, stratio wrote: > > Hello I'm experimenting a new trouble :( > > I'm still using ActiveMQ 5.4.2 on Windows 7. I'm running a Ruby client which > creates a topic named "/topic/ActiveMQFeed" using Stomp Protocol and publish > on it a message every 3 seconds. You might

Re: ajax handling fast messages

2010-12-17 Thread Alex Dean
On Dec 16, 2010, at 5:33 PM, Alex Dean wrote: > > I'll get a useful test written up tomorrow morning, and create a new JIRA > issue if Jeff doesn't beat me to it. I've created https://issues.apache.org/jira/browse/AMQ-3094 for this problem. My testing so far is incon

Re: ajax handling fast messages

2010-12-16 Thread Alex Dean
On Dec 15, 2010, at 9:34 AM, Dejan Bosanac wrote: > Hey Alex, > > seems like http client should this job automatically > > http://hc.apache.org/httpclient-3.x/cookies.html > > did you try some of this methods? I thought I had. I was using RestTest.java as a model. Your link helped me realiz

Re: ajax handling fast messages

2010-12-15 Thread Alex Dean
On Dec 15, 2010, at 3:02 AM, Dejan Bosanac wrote: > Hi Jeff, Alex, > > having some kind of test that reproduces the issue would be great. > It'd be good to add something to the tests Alex already contributed > > https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web-demo/src/main/weba

Re: ajax handling fast messages

2010-12-14 Thread Alex Dean
initely worth posting a ticket (although I > don't know where that is done). > > -Jeff > > > On Fri, Dec 10, 2010 at 6:33 PM, Alex Dean wrote: > >> >> On Dec 10, 2010, at 11:06 AM, Jeff Rose wrote: >> >>> Hi, >>> Based on the ajax chat e

Re: ajax handling fast messages

2010-12-10 Thread Alex Dean
On Dec 10, 2010, at 11:06 AM, Jeff Rose wrote: > Hi, > Based on the ajax chat example I've put together a small test page to > display messages that I post to a topic or queue using a php script. When I > send 10 messages in a for loop from PHP then the ajax handler is only > getting called wit

Re: delayed initialization of ajax listeners

2010-12-09 Thread Alex Dean
Raising this again. Can a committer take a look? On Dec 1, 2010, at 9:45 AM, Alex Dean wrote: > https://issues.apache.org/jira/browse/AMQ-3015 was submitted about a month > ago, and fixes a bug we've found in how listeners get set up with amq.js. > Could a committer review

ajax wiki page updated

2010-12-01 Thread Alex Dean
I've made some changes to the ajax wiki page, to hopefully document all of the recent developments which have take place in that code. * Updated the examples on how to initialize amq.js * Mention support for prototype, jquery, & dojo. Remove mention of behavior. * Describe how to use selector

delayed initialization of ajax listeners

2010-12-01 Thread Alex Dean
https://issues.apache.org/jira/browse/AMQ-3015 was submitted about a month ago, and fixes a bug we've found in how listeners get set up with amq.js. Could a committer review this patch and possibly get it included in 5.4.2? We've been using this fix in production for several months with no pro

Re: What does this mean?

2010-11-10 Thread Alex Dean
On Nov 10, 2010, at 3:16 PM, Steve Cohen wrote: > from http://activemq.apache.org/pure-master-slave.html : > > Pure Master Slave > > A Pure Master Slave configuration provides a basic shared nothing, fully > replicated topology which does not depend on a shared file system or shared > database

Re: multiple ajax clients in the same browser?

2010-10-13 Thread Alex Dean
On Oct 13, 2010, at 6:56 AM, Dejan Bosanac wrote: > Just committed it. Thanks for the great work. More comments can be > found in Jira. Fantastic. I would be willing to write some updates for http://activemq.apache.org/ajax.html. We need to describe how to use selectors and clientId. I tried

Re: multiple ajax clients in the same browser?

2010-10-11 Thread Alex Dean
witter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Mon, Oct 11, 2010 at 4:33 PM, Alex Dean wrote: >> Has anyone had a chance to review this pa

Re: multiple ajax clients in the same browser?

2010-10-11 Thread Alex Dean
Has anyone had a chance to review this patch yet? https://issues.apache.org/activemq/browse/AMQ-2948 thanks, alex On Oct 1, 2010, at 8:38 AM, Alex Dean wrote: > Great, thanks Dejan. > > One issue I have noticed with this change: Sometimes when I close a browser > window wh

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-10-08 Thread Alex Dean
On Oct 8, 2010, at 5:09 AM, jule wrote: > > I found a (quite obvious) solution to this problem. I just added a call to > removeListener() of amq.js just before adding my listener on startup, like > so: > > amq.removeListener(id, destination); > amq.addListener(id, destination, callBack); > > N

Re: ActiveMQ 5.4.1, Jetty 7 and Ajax Servlet issue

2010-10-07 Thread Alex Dean
On Oct 7, 2010, at 11:56 AM, eam wrote: > > Please, read my first post There's not enough information there to determine what's going wrong. 1. I'm curious about what JavaScript you're using on the client side. Are you publishing messages, or only consuming messages? 2. When does the excepti

Re: ActiveMQ 5.4.1, Jetty 7 and Ajax Servlet issue

2010-10-07 Thread Alex Dean
On Oct 7, 2010, at 11:29 AM, eam wrote: > > Is it a bug? > If not, what I have to do to resolve my problem? > I tried activemq 3.5.2 and it works with firefox, but with IE a blank ajax > message incoming... > With activemq 5.4.1 I have that exception What exception do you have? What does your

Re: Does this effect REST/web access? Timer/TimerTask code added to examine ajaxWebClients

2010-10-01 Thread Alex Dean
On Oct 1, 2010, at 9:36 AM, ChicagoBob123 wrote: > > Timer/TimerTask code added to examine ajaxWebClients and clean up clients > which have not been accessed in the past minute.> > > I read that this patch was recently added. > Does this work with any Web session? > Th

Re: multiple ajax clients in the same browser?

2010-10-01 Thread Alex Dean
http://www.nighttale.net > > > > On Thu, Sep 30, 2010 at 11:14 PM, Alex Dean wrote: >> I attached a new (and hopefully much-improved) patch to this ticket. >> Reviews appreciated. >> >> alex >> >> On Sep 28, 2010, at 12:29 PM, Alex Dean wr

Re: AJAX: Error occurred in poll. HTTP result: 200, status: parsererror

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 4:53 PM, jule wrote: > > Hi, > > I see the following log message if a poll times out and an empty response is > received: > > Error occurred in poll. HTTP result: 200, status: parsererror -> > amq_jquery_adapter.js:94 > > Investigating this with the JS debugging tools

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 4:33 PM, jule wrote: > > Hi Alex, > > you´re right, reloading after restart will get it back to work. Thanks for > your explanation. Is there a schedule for the patch you mentioned? Our plan (at my work) is to get https://issues.apache.org/activemq/browse/AMQ-2948 accepted

Re: multiple ajax clients in the same browser?

2010-09-30 Thread Alex Dean
I attached a new (and hopefully much-improved) patch to this ticket. Reviews appreciated. alex On Sep 28, 2010, at 12:29 PM, Alex Dean wrote: > I just submitted a patch to allow multiple windows in the same browser to > send/receive messages via ajax. > > https://issues.apache.

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-09-30 Thread Alex Dean
On Sep 30, 2010, at 10:51 AM, jule wrote: > > I just found out that this behaviour can also be reproduced with the > "chat"-example with an out-of-the-box configured ActiveMQ broker. If a > client browser is restarted, this example app breaks and the client cannot > receive anymore. If you rest

Re: multiple ajax clients in the same browser?

2010-09-28 Thread Alex Dean
in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Mon, Sep 13, 2010 at 3:46 PM, Alex Dean wrote: >> I'd be interested in attempting a fix for this problem. Please send along >> any information you think would help me

Re: getting started with activemq development

2010-09-23 Thread Alex Dean
sanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Wed, Sep 22, 2010 at 7:38 PM, Alex Dean wrote: >> I have been able to ru

Re: ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
emo/amq query=timeout=45000&d=1285186383593&r=0.9412045402828407 DEBUG | doMessage timeout=25000 DEBUG | RESPONSE /demo/amq 200 At this point, my client is receiving messages normally. But why do I have to refresh the page twice in order to make this happen? thanks, alex On Sep 22, 2010, at 1:

ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
I am trying to track down a problem we see when using activemq+ajax. Sometimes when a web page (which uses amq.js) is first loaded, the amq.js POST & GET requests will be made as normal, but no data is returned even though there are messages being published to the desired topic. Each GET just

Re: getting started with activemq development

2010-09-22 Thread Alex Dean
also check IntelliJ IDEA. > > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > > On Wed, Sep 22, 2010 at

getting started with activemq development

2010-09-22 Thread Alex Dean
I've not done much Java development, and definitely not on a codebase of the size of ActiveMQ. I'm finding it a little difficult to get started, and I could use some help. I wrote previously about some problems I've had getting Eclipse set up, but even once I've sorted that out I'm not sure wh

need help configuring eclipse

2010-09-22 Thread Alex Dean
I've done the following: - svn co https://svn.apache.org/repos/asf/activemq/trunk activemq-trunk - run 'mvn eclipse:eclipse' in the activemq-trunk working copy - In Eclipse, define M2_REPO as /Users/alex/.m2/repository - Add new Eclipse project 'from existing sources', using the svn working cop

Re: multiple ajax clients in the same browser?

2010-09-14 Thread Alex Dean
I submitted an updated patch for https://issues.apache.org/activemq/browse/AMQ-2874 with the change described below. alex On Sep 14, 2010, at 11:03 AM, Alex Dean wrote: Thanks. I will work on this as soon as I can. I submitted a change to the addListener() function in amq.js in https

Re: multiple ajax clients in the same browser?

2010-09-14 Thread Alex Dean
e a look at http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java?r=HEAD Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/

Re: multiple ajax clients in the same browser?

2010-09-13 Thread Alex Dean
janb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Sep 10, 2010 at 6:46 PM, Alex Dean wrote: I have been testing a web page displaying activemq data via the AJAX interface with AMQ 5.4. It works gr

Re: message filtering via ajax in 5.4?

2010-09-13 Thread Alex Dean
! Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Aug 4, 2010 at 8:13 PM, Alex Dean wrote: Thanks Dejan. How do I send the 'selector' par

multiple ajax clients in the same browser?

2010-09-10 Thread Alex Dean
I have been testing a web page displaying activemq data via the AJAX interface with AMQ 5.4. It works great when I have a single window open. If I open the same page in a new browser window or tab, the new window/tab updates correctly but the previously-open one stops updating. Firebug/Fi

Re: messages sent via stomp are not received in ajax client

2010-08-17 Thread Alex Dean
janb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Jul 9, 2010 at 11:55 PM, Alex Dean wrote: On Jul 9, 2010, at 3:44 PM, Alex Dean wrote: On Jul 9, 2010, at 1:50 PM, Alex Dean wrote: I have a R

Re: message filtering via ajax in 5.4?

2010-08-04 Thread Alex Dean
e 'selector' request parameter. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Aug 3, 2010 at 10:13 PM, Alex Dean wrote: On Jul 26, 201

Re: message filtering via ajax in 5.4?

2010-08-03 Thread Alex Dean
On Jul 26, 2010, at 11:25 AM, Alex Dean wrote: In 5.4, will ajax clients be able to specify per-subscription filtering rules when subscribing to topics? I don't see any obvious support for this in the 5.4-SNAPSHOT amq.js code, but maybe I'm missing it. Would be very helpful to

Re: Port sharing with servlet engine

2010-07-30 Thread Alex Dean
On Jul 30, 2010, at 10:00 AM, Erik Martino Hansen wrote: Is it possible to let activemq share a port (80 or 8080) with a servlet engine like Jetty or Tomcat? So that a single port on a single server serves standard http requests and jms broker communication. You could put Apache on port

message filtering via ajax in 5.4?

2010-07-26 Thread Alex Dean
In 5.4, will ajax clients be able to specify per-subscription filtering rules when subscribing to topics? I don't see any obvious support for this in the 5.4-SNAPSHOT amq.js code, but maybe I'm missing it. Would be very helpful to have, and I'd be happy to work on the JavaScript side of t

ajax delivery frequently gets delayed or stalled for 25 seconds in activemq 5.3

2010-07-14 Thread Alex Dean
The ajax servlet in 5.3 will often 'stall', and fail to deliver messages for about 25 seconds at a time. This behavior is not present in the 5.4 snapshots I've tried recently. Everything seems to work perfectly with that code. I've run tests up to a few hundred messages without missing o

Re: messages sent via stomp are not received in ajax client

2010-07-09 Thread Alex Dean
On Jul 9, 2010, at 3:44 PM, Alex Dean wrote: On Jul 9, 2010, at 1:50 PM, Alex Dean wrote: I have a Ruby script which publishes a message to an ActiveMQ topic via Stomp. I'm attempting to send these messages to the topic used by the demo chat.html included in ActiveMQ, so I'm

Re: messages sent via stomp are not received in ajax client

2010-07-09 Thread Alex Dean
On Jul 9, 2010, at 1:50 PM, Alex Dean wrote: I have a Ruby script which publishes a message to an ActiveMQ topic via Stomp. I'm attempting to send these messages to the topic used by the demo chat.html included in ActiveMQ, so I'm using the XML message format expected by

messages sent via stomp are not received in ajax client

2010-07-09 Thread Alex Dean
I have a Ruby script which publishes a message to an ActiveMQ topic via Stomp. I'm attempting to send these messages to the topic used by the demo chat.html included in ActiveMQ, so I'm using the XML message format expected by that page. chat.html is this one : http://fisheye6.atlassian.com

Re: help with ajax

2010-07-09 Thread Alex Dean
nt to the topic before you subscribed will not be received by your subscriber. That's just how topics works. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

help with ajax

2010-07-07 Thread Alex Dean
Hello. I'm trying out the ActiveMQ ajax messaging described at http://activemq.apache.org/ajax.html . I am able to send messages to a topic using this code: amq.uri='/amq'; amq.sendMessage('topic://MY.DEMO', ">");
    
    

77 matches