Universal Messaging 9.8 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Code Examples for C++ | Message Queues | C++ Client: Transactional Queue Publisher
 
C++ Client: Transactional Queue Publisher
This example publishes events transactionally to a Universal Messaging Queue. A Universal Messaging transaction can contain one or more events. The events which make up the transaction are only made available by the Universal Messaging server if the entire transaction has been commited succesfully.
Usage
txpushq <rname> <queue name> [count] [size] [tx size]


<Required Arguments>


<rname> - the rname of the server to connect to

<queue name> - Queue name parameter for the queue to publish to


[Optional Arguments]


[count] -The number of events to publish (default: 10)

[size] - The size (bytes) of the event to publish (default: 100)

[tx size] - The number of events per transaction (default: 1)
Application Source Code
Click here for a code example

Copyright © 2013-2015 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.