ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Session.AUTO_ACKNOWLEDGE means ?

Post new topic  Reply to topic
 Session.AUTO_ACKNOWLEDGE means ? « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Fri May 09, 2014 3:13 pm    Post subject: Session.AUTO_ACKNOWLEDGE means ? Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Fri May 09, 2014 4:39 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9406
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Session.AUTO_ACKNOWLEDGE means ?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.