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 » WebSphere Message Broker (ACE) Support » MQTT Publish/Subscribe

Post new topic  Reply to topic
 MQTT Publish/Subscribe « View previous topic :: View next topic » 
Author Message
hayderr
PostPosted: Tue Jul 29, 2008 1:23 am    Post subject: MQTT Publish/Subscribe Reply with quote

Novice

Joined: 14 May 2007
Posts: 22

Hello all,
I have a question around MQTT. I am using a Broker application that publish messages using MQTT.
I am using Quality of Service (QoS) 2.
The communication between the Publisher (Broker) and the Client is through a GPRS network. The protocol flow as follow:
1- Broker sends PUBLISH command
2- Client sends PUBREC message
3- Broker sends PUBREL
4- Client sends PUBCOMP
Sometimes, when the broker sends a Publish message the client receives it, but due to network load, the PUBREC message takes a long time to get to the Broker. So the Broker will send the message again, because it assumes there was a failure. In this case the client will have a duplicate message.
I would like to know how can I change the retry timer to make it longer? I have read the Broker and they say "The time delay (retry interval) before resending a message that has not been acknowledged is specific to the application, and is not defined by the protocol specification." How can I do this in my application?
Thank you

Hayder
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 29, 2008 1:42 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Have you checked your TCF settings??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hayderr
PostPosted: Tue Jul 29, 2008 6:42 pm    Post subject: Reply with quote

Novice

Joined: 14 May 2007
Posts: 22

Thanks for the reply, am not too sure about the TCF settings? If I change the MQMD setting, will that change the retry interval?
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 » WebSphere Message Broker (ACE) Support » MQTT Publish/Subscribe
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.