Consider the following files in the ActiveMQ examples subfolder:
-- apache-activemq-5.4.2\example\src\TopicPublisher.java
-- apache-activemq-5.4.2\example\src\TopicListener.java
There are two topics in the pub/sub example program:
-- topic = session.createTopic("topictest.messages");
-- contro
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:
>>>
On Jan 10, 2011, at 5:02 AM, Jeff Rose wrote:
>>>
>>> The l
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 different contents
depen
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
Hi Tim,
Here you have the test case, is a visual studio 2005 project, you only have
to compile giving an ip address in where there are no brokers. In this
example when the connection with broker wont be stablished, the exception is
catched and it calls to cleanup method to freeing resources. You a
Hi Prasanna,
I'd suggest use of Apache Camel (http://camel.apache.org) to do this
bridge between broker and the http server
Regards
--
Dejan Bosanac
-
FuseSource - The experts in open source integration and messaging.
Email: dej...@fusesource.com
Web: http://fusesource.com
Twitter
On Mon, 2011-01-17 at 14:05 +0100, Oscar Pernas wrote:
> Hi all,
>
>
> I've found the problem. The problem was that when you make the
> connection->start(); if it is impossible to connect to broker, ActiveMQ-cpp
> throws an exception. I catch this exception and call to cleanup method to
> free al
you should be able to extract the simple stomp java api from the
activemq source: see usage example here:
http://activemq.apache.org/stomp.html#Stomp-JavaAPI
but the connection oriented nature of jms/stomp and the disconnected
nature of mobile may not be a good match. You may want to consider
usin
Hi all,
I've found the problem. The problem was that when you make the
connection->start(); if it is impossible to connect to broker, ActiveMQ-cpp
throws an exception. I catch this exception and call to cleanup method to
free all resources.
In the moment that I'm deleting resources, particulary c
In my activemq.xml I have a failover connection to server. It is possible
that the client only try reconnect if there is/are messages in queue. I
don't want that the client always try to connect to the server although
there is no messages in queue.
--
View this message in context:
http://activem
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.
Hi all,
I am developing an application that uses JMS and needs to start with or
without the connection to broker was stablished or not. For this, I am
coding a reconnect thread that is spawned when the initial reconnects fail.
I've set this connection strings:
failover://(tcp://10.0.2.22:61616
)
But I am using the amq, not kahadb
when activemq starts up, it prints the following information. the size of
/data/journal is about 237GB, while data/kr-store is only 5.5Mb
INFO | jvm 1| 2010/05/14 03:22:14 | INFO
DefaultCamelContext- JMX
Hi,
this sounds like a known bug in some earlier versions
(https://issues.apache.org/jira/browse/AMQ-2736), can you try
upgrading to 5.4.2 and see if it helps.
Regards
--
Dejan Bosanac
-
FuseSource - The experts in open source integration and messaging.
Email: dej...@fusesource.co
Hi, All
My activemq consumed 2GB disk per day. The disk is being exhausted.
I found the size of journal folder is about 237GB.
How can I free my disk space?
I tried purge in my lab machine, it seems not help.
then I set the deleteAllMessageOnStartup to true and restart, it works.
what's the s
15 matches
Mail list logo