Ultra Messaging Examples (UMExamples) is a documentation suite aimed at providing high quality educational samples for the Informatica Ultra Messaging (UM) product line. Every sample in the suite is coded ready to compile, though may not act as a great application as is. These examples are provided to instruct users of the UM API on how to use the API and best practices with regard to UM functionality. Along with each sample application is detailed documentation describing the purpose of the example, and walks through the sample code to provide clear instruction on how to best use Ultra Messaging.
In the list below, different examples are available in different source code languages (C, Java, C#/.NET), but this site is a work in progress, so many examples are not available in all laguages.
If you would like to see only those examples available in a particular language, you can visit:
The master list is always available at: All examples
UMExamples is created with SEMLIT
mtools | C | Informatica "mtools" are a set of multicast test tools. Binaries and source code available for free. |
cancelling_timers | C Java C#/.NET | Example on how a context can schedule and safely cancel timer callbacks |
check_flight_size_ewouldblock | C Java C#/.NET | A send can fail with an EWOULDBLOCK error, which can have different root causes. One cause for a persisted source is exceeding flight size. This example shows how to determine if flight size is the cause of an EWOULDBLOCK error. |
clean_shutdown | C Java C#/.NET | Example on how to properly clean up a UM application |
dump_attributes | C Java C#/.NET | Application that dumps configuration attributes to stdout |
event_q_rcv | C Java C#/.NET | Using an event queue with a receiver. |
event_q_src | C Java C#/.NET | Using an event queue with a source. |
handle_burst | C Java C#/.NET | Handling burst loss and calculating the size of the burst |
late_join | C Java C#/.NET | A sample application that demonstrates how to enable & detect late join. |
load_config | C Java C#/.NET | A sample application that demonstrates how to load a configuration file for UM attributes |
logging_callback | C Java C#/.NET | Example on how to set the logging callback for UM library messages |
minsrc | C Java C#/.NET | Minimal publisher program. |
multi_context | C Java C#/.NET | A sample application that demonstrates how to create multiple contexts in an application on different topic resolution domains |
no_source_notify | C Java C#/.NET | A sample application demonstrating the usage of the no source notification callback |
quorum_state | C Java C#/.NET | Example on how a source can track the status of quorum, and use that state to check if a source can safely send a message |
request_response | C Java C#/.NET | A sample that demonstrates sending and receiving LBM request and response messages |
schedule_timers | C Java C#/.NET | Example on how a context can schedule timer callbacks for the context thread |
seq_number_callback | C Java C#/.NET | A sample application that utilizes the sequence number callback for UMP receivers |
sequential_mode | C Java C#/.NET | Example on how to run a LBM application in sequential mode with a separate context thread |
setting_attributes | C Java C#/.NET | Examples on setting UM attributes via the API |
source_notify_callbacks | C Java C#/.NET | A sample application that demonstrates how to configure and code the source_notification_callback feature for receivers |
src_rsp | C | A sample application that demonstrates source-based request responses. |
ump_receiver_callbacks | C Java C#/.NET | A sample application that handles all UMP receiver callbacks and logs important data |
ump_src_failover | C | Example UMP source application that demonstrates how a persisted source can failover to a backup store |
This software and documentation are provided only under a separate license agreement containing restrictions on use and disclosure. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without prior consent of Informatica LLC.
A current list of Informatica trademarks is available on the web at https://www.informatica.com/trademarks.html.
Portions of this software and/or documentation are subject to copyright held by third parties. Required third party notices are included with the product.
Informatica software is protected by patents as detailed at https://www.informatica.com/legal/patents.html.
The information in this documentation is subject to change without notice. If you find any problems in this documentation, please report them to us in writing at Informatica LLC 2100 Seaport Blvd. Redwood City, CA 94063.
Informatica products are warranted according to the terms and conditions
of the agreements under which they are provided.
INFORMATICA LLC PROVIDES THE INFORMATION IN THIS DOCUMENT "AS IS" WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT ANY WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY OR
CONDITION OF NON-INFRINGEMENT.