Re: No redelivery after rollback on a Topic

2010-06-01 Thread snicoll
Replying to self. The problem is related to the cache mode of the DefaultMessageListenerContainer. I have the following extra facts: * With mode = CONSUMER, I just don't get any message at all * With mode = SESSION, The rollback works with the configured number of redeliveries but the message do

Re: Does amq:connectionFactory use PooledConnectionFactory?

2010-06-01 Thread cmoulliard
You can use also the PooledConnectionFactory like that if you use ActiveMq with Camel jms component : KR, Charles acec acec wrote: > > Hi, all > According to the following articles, I should use P

Re: Dead letter queue not being created

2010-06-01 Thread KRISHNAS
Jira created. https://issues.apache.org/activemq/browse/AMQ-2756 https://issues.apache.org/activemq/browse/AMQ-2756 KRISHNAS wrote: > > Gary > > 5.4-SNAPSHOT has the same issue. Looks like addMessage method of > JDBCMessageStore class has changed in 5.3.1. The following code is added > to

Re: ActiveMQ RA and client acknowledge in a message-driven bean

2010-06-01 Thread Vyom
Hey i didn't get about the exception part, "org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery" What is this exception, please explain. Ivan Pechorin wrote: > > Hello > > 2010/4/21 Gary Tully : >> Use a transacted delivery in your endpoint activation and throw an >> exception >> f

Re: KahaDB data files not cleaned up

2010-06-01 Thread jaq
Purge and delete the queues (and wait some minutes). B.D. wrote: > > Purging queues using admin console does not get rid of these files > -- View this message in context: http://old.nabble.com/KahaDB-data-files-not-cleaned-up-tp27441942p28746596.html Sent from the ActiveMQ - User mailing

No delivery at all on a topic with a unknown durable subscriber

2010-06-01 Thread snicoll
Hi guys, I am using ActiveMQ 5.3.2 standalone with a Tomcat/Spring/BTM application. I had problem to get the rollback to work on a Topic (see my previous post[1]) so I tried to activate the durable subscriber. I have configured my DefaultMessageListenerContainer with a fake userId and clientId

No redelivery after rollback on a Topic

2010-06-01 Thread snicoll
Hi guys, I am trying to get redelivery work with a Topic using the latest ActiveMQ standalone release. I am using 5.3.2 with all the default settings. I have create a topic with a related DLQ. I also have create a queue and a related DLQ with a similar config. My application is using Spring and

Re: AW: Connection refused with embeded AMQ in Tomcat

2010-06-01 Thread test4john
That's exactly the cause of the problem! After changing to 0.0.0.0, it works perfectly. Thank you, Andreas! Andreas.Weber wrote: > > Hi, > > when looking at the activemq.xml in the activemq-web-console-5.3.2.war, > you'll see that the openwire transportConnector there is defined as: > >

Re: Dead letter queue not being created

2010-06-01 Thread KRISHNAS
Gary 5.4-SNAPSHOT has the same issue. Looks like addMessage method of JDBCMessageStore class has changed in 5.3.1. The following code is added to it, seems it is stopping to persist in the DB. public void addMessage(ConnectionContext context, Message message) throws IOException {

Re: Does amq:connectionFactory use PooledConnectionFactory?

2010-06-01 Thread cmoulliard
No, Check Bruce Snyder blog for more info about to setup this : http://bsnyderblog.blogspot.com/2010/02/using-spring-jmstemplate-to-send-jms.html KR, Charles acec acec wrote: > > Hi, all > According to the following articles, I should use PooledConnectionFactory > to avoid the performance i

Does amq:connectionFactory use PooledConnectionFactory?

2010-06-01 Thread acec acec
Hi, all According to the following articles, I should use PooledConnectionFactory to avoid the performance issues. http://activemq.apache.org/spring-support.html http://activemq.apache.org/jmstemplate-gotchas.html When I use the following configuration to create connectionFactory: Does it use

Re: Strange behavior with VirtualTopic and loadbalancing

2010-06-01 Thread James Casey
Hi Charles, This creates 2 separate virtual subscriptions to the topic, which will create a separate queue for each consumer. What you want is for both to connect to the same destination name 'Consumer.A.VirtualTopic.Orders', just as you would do for a normal load-balanced queue. cheers, James.

Strange behavior with VirtualTopic and loadbalancing

2010-06-01 Thread cmoulliard
Hi, I have configured an ActiveMq server 5.3.2 to use VirtualTopic : I have two consumers connected to the following queues : Consumer.A.VirtualTopic.Orders Consumer.B.VirtualTopic.Order

Re: Working C example?

2010-06-01 Thread bcmoney
We have a need to control a legacy application on an old Unix server which we have very little control over, save the ability to upload some files and run a GNU C compiler... also, we have to call into C code to start, stop and load datasets into the application. I suppose JNA could be used for na

filtereddestination selector

2010-06-01 Thread ingorfano
Hi i have added the following in my activemq.xml file under broker section. What occurs to me is that all th emessage sent to Queue TEST (from Siebel) is forwarded to both queues test1 and test2. It's like the selector is not taken into account. Is the syntax correct? Should i define this filter s

Re: SIEBEL JMS Transport business Service and ActiveMQ

2010-06-01 Thread ingorfano
i guess the error is int he jndi then, connectionfactory line should be commented out. the file is in the siebsrv\class folder as well. this is mine: java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory # use the following property to configure the default connect

Re: SIEBEL JMS Transport business Service and ActiveMQ

2010-06-01 Thread aswad
Hi, Where is your jndi.properties file in classpath? Have you configured receiver as well? Regards, Aswad ingorfano wrote: > > Hi aswad sorry for the delay. > > have u included the file activemq-all-5.3.1-fuse-00-00.jar in the > classpath? what i did was to copy this library into Siebelsrv\c

Re: SIEBEL JMS Transport business Service and ActiveMQ

2010-06-01 Thread ingorfano
Hi aswad sorry for the delay. have u included the file activemq-all-5.3.1-fuse-00-00.jar in the classpath? what i did was to copy this library into Siebelsrv\class folder and of course refence it into the JVM classpath. this is my classpath: D:\sia80\siebsrvr\CLASSES;D:\sia80\siebsrvr\CLASSES\Si

Re: Working C example?

2010-06-01 Thread cmoulliard
openwire is the de facto standard for ActiveMQ and has been optimised to read/write bytes[] while Stomp (= Streaming Text) should be considered when you do not have any other alternative. Why would you like to use a JMS C Client and not a Java JMS client ? bcmoney wrote: > > Hi Charles, > > T