public interface NativeDestinationHandle extends Handle, Destination
MessageHandle.setDestination(Destination)
and MessageHandle.setReplyTo(Destination)
Applications that need
this interface must instantiate an object with the NativeDestinationHandle interface by calling
Allocator.newNativeDestinationHandle()
.
Before the NativeDestinationHandle can be used, the NativeDestination object must be created with
Solclient.createNativeDestinationForHandle()
The NativeDestination is designed for re-use and when these object is created the reference should be saved so
the same Destination can be added to many MessageHandle
.
Once the NativeDestination is created in the underlying C-SDK, the NativeDestinationHandle may be used as a
Destination
in any methods that passes a Destination to the C-SDK. The NativeDestination object
can be accessed directly in the C-SDK and the cost of conversion from Java String object to Ascii string
representation only occurs in
Solclient.createNativeDestinationForHandle()
getName, isTemporary
Copyright 2004-2024 Solace Corporation. All rights reserved.