WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Changing the synchronization mode

An event source can change the synchronization mode being used by an emitter.

Why and when to perform this task

This change remains in effect for subsequent event submissions, but it does not change the preferred synchronization mode defined in the emitter factory profile.

The synchronization modes supported by an emitter are defined by the emitter factory profile. You can find out which modes are supported by a particular emitter by calling the isSynchronizationModeSupported() method; see the Javadoc API documentation for com.ibm.events.emitter.Emitter for more information. If you attempt to use a mode that is not supported, the emitter throws a SynchronizationModeNotSupportedException exception.

Steps for this task

To change the synchronization mode, use the setSynchronizationMode(int) method.
emitter.setSynchronizationMode(synchronizationMode);
The synchronizationMode is an integer constant defined by the interface SynchronizationMode:

Task topic

Terms of Use | Rate this page

Timestamp iconLast updated: 13 Dec 2005
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc\doc\tcei_admin_changeSynchronizationMode.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)