Reference > Shop flow URLs > Messaging system URLs


SendTransactedMsg URL

This URL sends all outstanding messages using the Send Transacted Sending services.


URL structure

http://host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, SendTransactedMsg , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

msgId

(Optional) Specifies the number of messages to send when the command is invoked by using the value in the MSGID column of the MSGSTORE table. Specify either msgId or numOfMessages. If numOfMessages is used with the msgId parameter; then the numOfMessages is ignored.

numOfMessages

(Optional) Specifies the number of messages in the MSGSTORE table that have a RETRIES value larger than 0. Specify either numOfMessages or msgId.

batchSize

(Optional) Specifies the maximum number of messages to send in one transaction; the default value is 1. If one message in the batch cannot be sent, then all other messages in the batch will be requeued for the next URL execution. Use this parameter with the numOfMessages parameter, or on its own.


Example 1

This example shows sending a maximum of 99 messages with a batch size of 3.

https://myhostname/webapp/wcs/stores/servlet/SendTransactedMsg?numOfMessages=99&batchSize=3


Example 2

This example shows sending a message with the ID 123456.

https://myhostname/webapp/wcs/stores/servlet/SendTransactedMsg?msgId=123456


Behavior


Exception Conditions


Related concepts

Outbound messaging system


Related tasks

Assign a message type to a transport method for a site or store

View unsent messages

Related reference

BatchOrderRequest URL

BroadcastMessage URL

DeleteMsgFromStorage URL

InterestItemListMessage URL

MsgStoreIncrementRetries URL

PunchOutCatalogDisplay URL

PunchOutSetup URL

Send services


+

Search Tips   |   Advanced Search