Universal Messaging Developer Guide : The Enterprise Client APIs : The Universal Messaging Java Enterprise Developer's Guide : Universal Messaging Java Client: Code for Sample Applications : Message Queues : Universal Messaging Java Client: Transactional Queue Publisher
Universal Messaging Java 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 committed successfully.
Usage
npushtxq <queue name> [count] [size] [txsize]

<Required Arguments>

<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)
[txsize] - The number of events to publish per transaction (default: 1)


Note: -? provides help on environment variables
Application Source Code
Click here for a code example
Copyright © 2013-2014 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback