Yes, do not send "\n" to ActiveMQ, it thinks that those are separate messages
and breaks them up.
habumaster wrote:
>
> Using the amq-msg-type for Stomp->ActiveMQ messages from Ruby and
> ActiveMQ<->Ajax to the Browser with amq.js and prototype,js
>
> Had no problems when I did not use the h
Using the amq-msg-type for Stomp->ActiveMQ messages from Ruby and
ActiveMQ<->Ajax to the Browser with amq.js and prototype,js
Had no problems when I did not use the header and we connected the Browser
via Orbited.
Ruby code:
javascript = render_to_string :update do |page|
p
Yes, that got me amq connections. It works! The "Proxying with Apache" is a
good one.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Question-about-ajax-html-examples-on-website-tp3216811p3234387.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
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 ActiveMQ?
Yes, I agree. More information below.
>>> 2. What
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 ActiveMQ?
> I thought through the NIO connector/selector I would be accessing the Ajax
> servelets?
>
>>1. Is your Ruby ap
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
Going the servlet route.. Your app is running on a main server, not a virtual
one I am guessing.
Mine is virtual and with the apache config you spec'd, I understand it was a
starting point.
I have ActiveMQ 5.4.2 running on the same server. Jetty.xml is in the
activemq.xml file, so Ajax servlet sho
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
AHA! quick & dirty
for (prop in message) {
alert(prop+message[prop]);
}
message.data is where it is at
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Question-about-ajax-html-examples-on-website-tp3216811p3225477.html
Sent from the ActiveMQ - User mailing list
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.
Problem is now I am getting back in the response message as [object Text] in
the alert() call in the example. Using the prototype adapter and amq.js.
"rec
I figured it out - STOMP -> ActiveMQ then ActiveMQ -> Browser with the amq.js
library is the problem.
Send and receive with amq from Browser -> ActiveMQ and ActiveMQ -> Browser
on both sides works fine.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Question-about-ajax-
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
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 AjaxServlet installed in the ActiveMQ 5.4.1 install I am running.
Do
13 matches
Mail list logo