Re: ActiveMQ exception : "Failed to browse Topic"

2014-07-24 Thread khandelwalanuj
Please respond. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-exception-Failed-to-browse-Topic-tp4683227p4683653.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

redelivery plugin not working… doing something wrong?

2014-07-24 Thread Kevin Burton
I'm trying to get my broker to redeliver messages that aren't successfully acknowledged. I'm using client ack, and giving the clients 2 minutes to ack the message. I have a test setup where I'm trying to simulate that behavior in an embedded broker.. .but it's not working. Here's my XML config:

Re: can message.acknowledge be transacted?

2014-07-24 Thread Jose María Zaragoza
2014-07-24 21:56 GMT+02:00 Timothy Bish : > On 07/24/2014 03:37 PM, Jose María Zaragoza wrote: >> >> 2014-07-23 13:13 GMT+02:00 Gary Tully : >>> >>> yes, but not in that way. message.acknowledge(); is not transactional. >>> You need to manage the operations with a transacted session >>> that is sha

Re: can message.acknowledge be transacted?

2014-07-24 Thread Timothy Bish
On 07/24/2014 03:37 PM, Jose María Zaragoza wrote: 2014-07-23 13:13 GMT+02:00 Gary Tully : yes, but not in that way. message.acknowledge(); is not transactional. You need to manage the operations with a transacted session that is shared across the producer and consumer. consumer.receive(); prod

Re: can message.acknowledge be transacted?

2014-07-24 Thread Jose María Zaragoza
2014-07-23 13:13 GMT+02:00 Gary Tully : > yes, but not in that way. message.acknowledge(); is not transactional. > You need to manage the operations with a transacted session > that is shared across the producer and consumer. > > consumer.receive(); > producer.send() > session.commit() A new

Re: can message.acknowledge be transacted?

2014-07-24 Thread Kevin Burton
AH!!! ok. I couldn't find that documented anywhere. That's perfect if that's the case. I'll write a unit test to verify that this behavior works with my app. If so that totally solves my problem. thanks! On Thu, Jul 24, 2014 at 3:38 AM, Gary Tully wrote: > a transactional session, is in a

Re: can message.acknowledge be transacted?

2014-07-24 Thread Gary Tully
a transactional session, is in auto ack mode with the acks pending till commit/rollback you only need to use message. acknowledge when a session is in client ack or individual ack mode. On 23 July 2014 23:48, Kevin Burton wrote: > Ah… so there's no way for me to have acknowledge transactional ?

Re: MemoryPersistenceAdapter.html was not found on this server

2014-07-24 Thread DT78
Thanks, Is there attributes or properties to add to memoryPersistenceAdapter ? DT78 -- View this message in context: http://activemq.2283324.n4.nabble.com/MemoryPersistenceAdapter-html-was-not-found-on-this-server-tp4683506p4683581.html Sent from the ActiveMQ - User mailing list archive at Nab

Re: Can ActiveMQ take advantage of Oracle transparent application failover?

2014-07-24 Thread DT78
Hi, Configuration of oci done indicated in : http://activemq.2283324.n4.nabble.com/Activemq-with-oci-java-lang-UnsatisfiedLinkError-no-ocijdbc10-in-java-library-path-td4680012.html Best regards, DT78 -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-take-advan

Re: Activemq with oci : java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path

2014-07-24 Thread DT78
Hi, Sorry for the delay to post the solution. I have got instantclient_10_2 from Oracle and extract it in a directory. Configuration in .profile : export SHLIB_PATH=$HOME/instantclient_10_2 export TNS_ADMIN=/... PATH=$HOME:$HOME/current/bin:$SHLIB_PATH:$PATH Configuration in activemq.xml :