Thanks for your answer, Rob.

I want to make sure what I do is correct:
I create a connection factory, and create a connection from it.
Then each time i want to pop a message, I create a session(transacted=true),
create a consumer, receive, and commit or rollback. For each message popped,
I am creating a session and consumer again.

Is that ok? can I create a session only once? and a consumer?

thanks
Yair

-- 
View this message in context: 
http://old.nabble.com/Visibility-timeout-feature-tp27163663p27198059.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to