From 4bb49869f0a021051918f62972fc9bd5aee8aaf2 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 23 Apr 2010 13:09:15 +0000 Subject: moved section on connection options for reconnect up a level as it is not related to addresses; itemized list of supported APIs for more emphasis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937279 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/doc/book/src/High-Level-API.xml | 214 ++++++++++++++++++++--------------- 1 file changed, 122 insertions(+), 92 deletions(-) (limited to 'qpid/doc/book/src/High-Level-API.xml') diff --git a/qpid/doc/book/src/High-Level-API.xml b/qpid/doc/book/src/High-Level-API.xml index 8bbf2fc908..224eab04f7 100644 --- a/qpid/doc/book/src/High-Level-API.xml +++ b/qpid/doc/book/src/High-Level-API.xml @@ -31,16 +31,39 @@ Apache Qpid is a reliable, asynchronous messaging system that supports the AMQP messaging protocol in several common programming - languages. On the Java platform, Qpid uses the - established Java JMS - API. On the .NET platform, Qpid defines - a WCF - binding. For Python and C++, Qpid defines its own - messaging API which is conceptually similar in each supported - language. Support for this API in Ruby will be added - soonRuby currently uses an API that is closely tied - to the AMQP version.. + languages. + + + + + On the Java platform, Qpid uses the + established Java JMS + API. + + + + + On the .NET platform, Qpid defines + a WCF + binding. + + + + + For Python and C++, Qpid defines its own + messaging API which is conceptually similar in each supported + language. + + + + + Support for this API in Ruby will be added + soonRuby currently uses an API that is closely tied + to the AMQP version.. + + +
@@ -992,89 +1015,6 @@ Message(properties={spout-id:ea75d64d-ea37-47f9-96a9-d38e01c97925:0}, content='t
-
- Reconnect/Failover - - Connection properties - - - - property - value - semantics - - - - - - reconnect - - - True, False - - - Transparently reconnect if the connection is lost. - - - - - reconnect_timeout - - - N - - - Total number of seconds to continue reconnection attempts before giving up and raising an exception. - - - - - reconnect_limit - - - N - - - Maximum number of reconnection attempts before giving up and raising an exception. - - - - - reconnect_interval_min - - - N - - - Minimum number of seconds between reconnection attempts. The first reconnection attempt is made immediately; if that fails, the first reconnection delay is set to the value of reconnect_interval_min; if that attempt fails, the reconnect interval increases exponentially until a reconnection attempt succeeds or reconnect_interval_max is reached. - - - - - reconnect_interval_max - - - N - - - Maximum reconnect interval. - - - - - reconnect_interval - - - N - - - Sets both reconnection_interval_min and reconnection_interval_max to the same value. - - - - -
-
Address String Grammar @@ -1170,6 +1110,96 @@ options := map
+ +
+ Reconnect and Failover + Connections in the Qpid messaging API support automatic + reconnection. The following table lists some of the connection + properties that control this. See the reference documentation + for details on how to set these on connections fro each + langauge. + + Connection properties + + + + property + value + semantics + + + + + + reconnect + + + True, False + + + Transparently reconnect if the connection is lost. + + + + + reconnect_timeout + + + N + + + Total number of seconds to continue reconnection attempts before giving up and raising an exception. + + + + + reconnect_limit + + + N + + + Maximum number of reconnection attempts before giving up and raising an exception. + + + + + reconnect_interval_min + + + N + + + Minimum number of seconds between reconnection attempts. The first reconnection attempt is made immediately; if that fails, the first reconnection delay is set to the value of reconnect_interval_min; if that attempt fails, the reconnect interval increases exponentially until a reconnection attempt succeeds or reconnect_interval_max is reached. + + + + + reconnect_interval_max + + + N + + + Maximum reconnect interval. + + + + + reconnect_interval + + + N + + + Sets both reconnection_interval_min and reconnection_interval_max to the same value. + + + + +
+
+
The AMQP 0-10 mapping -- cgit v1.2.1