Hi,

Would just like to add, that the only persistent queue that kannel uses is for outgoing SMS to the SMSc. All rest are simple connection retries. Connections are internally implemented (as Eduardo said) through in-memory queues.

BR,
Nikos
----- Original Message ----- From: "Eduardo Raad" <[email protected]> To: "Ishtiaq Ahmed" <[email protected]>; <[email protected]>; <[email protected]>
Sent: Monday, June 01, 2009 3:17 PM
Subject: Re: Message queue


Ishtiaq,

Check the smsuser section of the user guide, there you will find an option to set max. retries for http-services. If Kannel cant reach your url, it will queue the message and try again depending on what you set.

Be aware that this queue seems to be non-persistent, this means that if you shutdown the bearerbox, all messages will be lost.

I'm not sure if this has been fixed.

Eduardo
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Ishtiaq Ahmed <[email protected]>

Date: Mon, 01 Jun 2009 17:55:26
To: [email protected]<[email protected]>
Subject: Message queue


Hi Fellows,


I would like to know about the queue management of Kannel. either kannel
queue the messages if the user application or server become
unavailable... My finding are when I make our application unavailable,
all the messages are denied....


Here is the log...


2009-06-01 07:54:26 [9941] [4] DEBUG: match found: .*
2009-06-01 07:54:26 [9941] [4] INFO: Starting to service <Help> from
<+923028560774> to <6261>
2009-06-01 07:54:26 [9941] [9] DEBUG: Queue contains 0 pending requests.
2009-06-01 07:54:26 [9941] [9] DEBUG: Parsing URL
`http://STAGGING:7080/processor/receivemsg.htm?sender=%2B923028560774&text=Help&shortcode=6261&operatorid=&meta-data=&smscid=Mob1':
2009-06-01 07:54:26 [9941] [9] DEBUG:   Scheme: http://
2009-06-01 07:54:26 [9941] [9] DEBUG:   Host: STAGGING
2009-06-01 07:54:26 [9941] [9] DEBUG:   Port: 7080
2009-06-01 07:54:26 [9941] [9] DEBUG:   Username: (null)
2009-06-01 07:54:26 [9941] [9] DEBUG:   Password: (null)
*2009-06-01 07:54:26 [9941] [9] DEBUG:   Path: /processor/receivemsg.htm*
2009-06-01 07:54:26 [9941] [9] DEBUG:   Query:
sender=%2B923028560774&text=Help&shortcode=6261&operatorid=&meta-data=&smscid=Mob1
2009-06-01 07:54:26 [9941] [9] DEBUG:   Fragment: (null)
2009-06-01 07:54:26 [9941] [9] DEBUG: HTTP: Opening connection to
`STAGGING:7080' (fd=27).
2009-06-01 07:54:26 [9941] [9] DEBUG: Socket connecting
2009-06-01 07:54:26 [9941] [8] DEBUG: Get info about connecting socket
2009-06-01 07:54:26 [9941] [8] DEBUG: Socket not connected
*2009-06-01 07:54:26 [9941] [8] ERROR: Couldn't fetch*
<http://STAGGING:7080/processor/receivemsg.htm?sender=%2B923028560774&text=Help&shortcode=6261&operatorid=&meta-data=&smscid=Mob1>
*2009-06-01 07:54:26 [9941] [5] INFO: No reply sent, denied.*


Regards,


Ishtiaq Ahmed




Reply via email to