*** empty log message ***

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@225233 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dave Renshaw 2006-12-18 16:24:31 +00:00
parent a482c268de
commit 66b884c24c
7 changed files with 33 additions and 42 deletions

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<section id="mq.constants">
&reftitle.constants;
&extension.constants;
@ -59,6 +59,17 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_CORRELID</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
Attribute used on receive, send and remove requests to identify specific messages.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_DELIVERYMODE</constant>
@ -147,6 +158,17 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_MESSAGEID</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
Attribute used on receive and remove requests to identify specific messages.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_NON_PERSISTENT</constant>
@ -230,17 +252,6 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_SELECT</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
Receive attribute used to set the required message selector.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>SAM_STRING</constant>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id='function.SAM-Connection-commit'>
<refnamediv>
<refname>SAMConnection::commit()</refname>
@ -13,9 +13,6 @@
Calling the "commit" method on a Connection object commits (completes) all in-flight
transactions that are part of the current unit of work.
</para>
<para>
Warning: This method is not currently implemented.
</para>
<classsynopsis>
<ooclass><classname>SAMConnection</classname></ooclass>
<methodsynopsis>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id='function.SAM-Connection-connect'>
<refnamediv>
<refname>SAMConnection::connect()</refname>
@ -170,9 +170,6 @@
<entry>none</entry>
<entry>
The password to be used when the Messaging Server to which the connection is being made requires authentication.
<para>
Warning: Not yet implemented!
</para>
</entry>
</row>
<row>
@ -180,19 +177,13 @@
<entry>SAM_AUTO</entry>
<entry>
Indicates how transactions are handled on this connection. The value may be SAM_AUTO (the default) to allow automatic handling on a per operation basis or SAM_MANUAL to allow the PHP script to control the transaction boundaries. If SAM_MANUAL is used any in-flight transactions will be rolled back if the script is terminated or the connection is closed without a commit being executed.
<para>
Warning: Not yet implemented!
</para>
</entry>
</entry>
</row>
<row>
<entry>SAM_USERID</entry>
<entry>none</entry>
<entry>
The user id to be used when the Messaging Server to which the connection is being made requires authentication.
<para>
Warning: Not yet implemented!
</para>
</entry>
</row>
<row>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id='function.SAM-Connection-receive'>
<refnamediv>
<refname>SAMConnection::receive()</refname>
@ -102,13 +102,13 @@ if (!$msg) {
<example>
<title>Receiving a message from a queue with options</title>
<para>
In this example the SAM_SELECT option is used to specify a selector string to be used to identify the message to receive and also a wait timeout of 10 seconds is specified.
In this example the SAM_CORRELID option is used to specify a correlation id string to be used to identify the message to receive. A wait timeout of 10 seconds is also specified.
</para>
<programlisting role="php">
<![CDATA[
<?php
$msg = $conn->receive('queue://receive/test', array(SAM_SELECT => $token, SAM_WAIT => 10000));
$msg = $conn->receive('queue://receive/test', array(SAM_CORRELID => $token, SAM_WAIT => 10000));
?>
]]>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id='function.SAM-Connection-rollback'>
<refnamediv>
<refname>SAMConnection::rollback()</refname>
@ -16,9 +16,6 @@
<type>bool</type><methodname>rollback</methodname><void/>
</methodsynopsis>
</classsynopsis>
<para>
Warning: This method is not currently implemented.
</para>
</refsect1>
<refsect1 role="returnvalues">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id='function.SAM-Connection-send'>
<refnamediv>
<refname>SAMConnection::send()</refname>
@ -168,7 +168,7 @@ if (!$correlid) {
// The Send failed!
echo "Send failed ($conn->errno) $conn->error";
} else {
$resp = $conn->receive('queue://receive/test', array(SAM_SELECT => $correlid));
$resp = $conn->receive('queue://receive/test', array(SAM_CORRELID => $correlid));
}
?>
]]>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<reference id="ref.sam">
<title>SAM - Simple Asynchronous Messaging</title>
<titleabbrev>SAM</titleabbrev>
@ -7,11 +7,6 @@
<partintro>
<section id="sam.intro">
&reftitle.intro;
<para>
<!-- This warns that the extension is experimental -->
&warn.experimental;
<!-- This is the paragraph text -->
</para>
<para>
This extension provides access to the functionality of messaging and queueing systems, such
as the IBM WebSphere MQSeries family of products, from PHP scripts. The interface is designed