|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Session.AUTO_ACKNOWLEDGE means ? |
« View previous topic :: View next topic » |
Author |
Message
|
shashivarungupta |
Posted: Fri May 09, 2014 3:13 pm Post subject: Session.AUTO_ACKNOWLEDGE means ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Hello,
This is the sample code of application calling JMS API:
conn = broker.createConnection();
conn.start();
session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
producer = session.createProducer(dest);
ObjectMessage objMsg = session.createObjectMessage();
msg.toJMSMessage(objMsg);
producer.send(objMsg);
producer.close();
session.close();
conn.close();
Could you please share some insight about , What AUTO_ACKNOWLEDGE really does. It waits for publish queue receive message or message delivery to all subscriber queue ? _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri May 09, 2014 4:39 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Google is your friend. Search for Session.AUTO_ACKNOWLEDGE. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|