basic question about camel routing configuration with activemq and stomp client

2009-12-07 Thread riskman
I am using stomp client(c client) to send message to activeMQ server,I want to use camel configuration file to route message from one queue to another,shown as below. A(stomp client)--msg--->(MyQueue)activeMQ(camel xml routing)->(OtherQueue)<-SUB--B(stomp client) part of A's co

Can't run activemq-web-console 5.3.0 on Tomcat 6.0

2009-12-07 Thread ellayararwhy
I'm getting the following error when accessing the default page: javax.el.ELException: Error reading 'brokerName' on type org.apache.activemq.web.RemoteJMXBrokerFacade Since the Jetty-based standalone works perfectly, I find it hard to believe that it's just a matter of RemoteJMXBrokerFacade not

ActieMQ and Ajax issue - urgent plse

2009-12-07 Thread jaguarg
Hi, We have noticed that after a web client registers for a topic it seems that the client receives ALL topic notifications. Even after refreshing the web page! How do I make sure that a ajax client only get sent the topic it has subsribed to? -- jaguarg -- View this message in context:

Active MQ 5.3 backward compatible with Active MQ 4.x

2009-12-07 Thread PatrickVB
Hi, Can I have an ActiveMQ 5.3 broker running on which still some ActiveMQ 4.x clients are connected? Is this kind of backward compatibility supported? Regards Patrick Vanbrabant -- View this message in context: http://old.nabble.com/Active-MQ--5.3-backward-compatible-with-Active-MQ-4.x-tp266

How to configure DB datasource programmatically when using JDBC Master Slave?

2009-12-07 Thread ksun
Hi all, I am trying to embed AMQ and also use shared JDBC Master Slave. The DB setting is as below: As I know, if I use the above setup, it needs Spring Jars to resolve the configuration. So could I configure these above DB info programmatically to

Message Persistence via Broker or JMS Message

2009-12-07 Thread praveen.sharma
What is the best way to ensure that messages persistence is turned off? I see two possible options - (1) turn off using JMS Message's delivery mode, (2) setting persistence flag to false in activemq.xml. On setting persistence off on broker using activemq.xml, the JMS message returns deliverym

Problem to reconnect bridge from activeMQ to JBoss

2009-12-07 Thread claro
Hi all, i have activeMQ 5.3.0 configured to bridge with JBoss 4.2.2. The activemq.xml file configures the jmsBridgeConnectors to outbound all the topic messages to jboss topic messages. The jboss connection is defined with a JndiTemplate defining the properties for jboss and the file jbossall-cli

Re: What does the topic size attribute actually mean ?

2009-12-07 Thread fehm
Hi, I currently have a similar problem which occurs from time to time and which is really a big problem: With a producer throwing out rather large messages 1MB > Thank for your reply > > fehm wrote: >> >> 1. Unless you have switched message persistency off, messages are always >> stored befo

Re: What does the topic size attribute actually mean ?

2009-12-07 Thread fehm
The 'size' in the statistics you see is the total number of messages which have been sent to this topic. Unsurprisingly, for topics it is the same as enqueueCount. I can only image these numbers to differ when you have a queue instead of topic. Then, the size represents the number of message in t

Re: What does the topic size attribute actually mean ?

2009-12-07 Thread walec51
Thank for your reply fehm wrote: > > 1. Unless you have switched message persistency off, messages are always > stored before distribution to subscribers. If you have disabled spooling > messages to disk, it's very likely to fill up the Broker memory. > > 1. works only for retroactive > subscr

Re: What does the topic size attribute actually mean ?

2009-12-07 Thread fehm
Hi, walec51 wrote: > > Does the mean that all the messages are still stored somewhere ? > > My recovery policy is . > > I'm experiencing a memory leak in ActiveMQ and I'm trying to find out > whats cosing it. The funny thing is that when I delete all the topics and > queue on the server the

Re: camel 2.1

2009-12-07 Thread Willem Jiang
Hi, We were using ActiveMQ 5.3.0 for testing when developing the Camel 2.1.0. So I think you just need to replace the Camel files in you syetem :) Willem Rob Davies wrote: that should work! :) On 4 Dec 2009, at 22:16, lujan99 wrote: how can I Install Camel 2.1 over AMQ 5.3?? only replace c

Re: Another need for integrating embedded broker into Tomcat

2009-12-07 Thread Thierry H
Here are the 2 modified files (the servlet and the transport (which is doing nothing :) ) As i' m not an expert into web dev nor in AMQ (just playing with it since a few days) , i think this can be improved a lot. Regards Dejan Bosanac wrote: > > Hi Thierry, > > there's already opened enha

What does the topic size attribute actually mean ?

2009-12-07 Thread walec51
Hello, I'm looking and the topic xml file generated by the web admin of ActiveMQ 5.3 and I see that my topic's size are always equal to the number on enqueued messages. Like this for example: Does the mean that all the messages are still stored somewhere ? My recovery policy is . I'm expe

Re: Does the Stomp adapter support MapMessage?

2009-12-07 Thread mjustin
Hi Dejan, thank you for the pointer, I will add MapMessage support to the Delphi client library Habari then. Regards, Michael Justin quote author="Dejan Bosanac"> Hi Mike, yes it is. Take a look at StompTest for some examples (http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/

Re: Persisting Queues when passed through Mule

2009-12-07 Thread Dejan Bosanac
Hi, It seems everything is fine here. Topics you're seeing are for advisory messages (http://activemq.apache.org/advisory-message.html). Also these debug messages you're seeing are journal related and shows how messages are added/removed from the journal, nothing wrong here as well. Cheers -- Dej

Re: Another need for integrating embedded broker into Tomcat

2009-12-07 Thread Dejan Bosanac
Hi Thierry, there's already opened enhancement request in Jira for that, https://issues.apache.org/activemq/browse/AMQ-2469. Any submitted patches are appreciated. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www

Re: Does the Stomp adapter support MapMessage?

2009-12-07 Thread Dejan Bosanac
Hi Mike, yes it is. Take a look at StompTest for some examples (http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?view=markup), tests like (testTransformationSendJSONMap() and similar). Cheers -- Dejan Bosanac - http://twitt