Removes the registration for the message type. This applies to
direct registrations as well as handler registrations.
throws: IOException - if there is a problem canceling theregistration. throws: IllegalStateException - if the registrationTokenhas already been canceled.
Registers the message type for direct receipt via
waitForMessage(). This is akin to a reservation of
the type before blocking on incoming messages.
opaque object that represents the registration. The token can beused to cancel the registaration usingJUMPMessageDispatcher.cancelRegistration(Object) throws: JUMPMessageDispatcherTypeException - if there is already anexisting handler registration for the message type. throws: IOException - if there is a problem registering for themessage type.
Registers the message handler for the message type. This
starts a daemon thread which will persist until all
handlers for the message type have been cancelled.
opaque object that represents the registration. The token can beused to cancel the registaration usingJUMPMessageDispatcher.cancelRegistration(Object) throws: JUMPMessageDispatcherTypeException - if the message type wasregistered via registerDirect(). throws: IOException - if there is a problem registering for themessage type.