public class ITKTransportRouteImpl extends Object implements ITKTransportRoute
DIRECT, DISTRIBUTION_ENVELOPE, DTS, HTTP_WS, NO_WRAPPER, ROUTED, SPINE_TMS, UNKNOWN| Constructor and Description |
|---|
ITKTransportRouteImpl(String type,
String address)
Instantiates a new iTK transport route impl.
|
ITKTransportRouteImpl(String type,
String address,
String replyTo,
String exceptionTo,
String destinationType,
String wrapperType,
int timeToLive)
Instantiates a new iTK transport route impl.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationType()
Obtains the destination type
|
String |
getExceptionToAddress()
Obtains the address for sending an exceptions
that are reported asynchronously
|
String |
getPhysicalAddress()
Obtains the transport specific physical
destination address
|
String |
getReplyToAddress()
Obtains the address for any asynchronous replies
|
int |
getTimeToLive()
Obtains the time to live for any messages
being sent via this ITKTransportRoute
|
String |
getTransportType()
Obtains the transport type for this
ITKTransportRoute instance
|
String |
getWrapperType()
Obtains the details of any transport route
wrappers that are required for the business
payload
|
void |
setWrapperType(String wrapperType)
Sets the details of any transport route
wrappers that are required for the business
payload
|
String |
toString() |
public ITKTransportRouteImpl(String type, String address)
type - the typeaddress - the addresspublic ITKTransportRouteImpl(String type, String address, String replyTo, String exceptionTo, String destinationType, String wrapperType, int timeToLive)
type - the typeaddress - the addressreplyTo - the reply toexceptionTo - the exception todestinationType - the destination typewrapperType - the wrapper typetimeToLive - the time to livepublic String getTransportType()
ITKTransportRoutegetTransportType in interface ITKTransportRouteITKTransportRoute.DTS; ITKTransportRoute.HTTP_WS;
ITKTransportRoute.SPINE_TMS or ITKTransportRoute.UNKNOWNpublic String getPhysicalAddress()
ITKTransportRoutegetPhysicalAddress in interface ITKTransportRoutepublic String getReplyToAddress()
ITKTransportRoutegetReplyToAddress in interface ITKTransportRoutepublic String getExceptionToAddress()
ITKTransportRoutegetExceptionToAddress in interface ITKTransportRoutepublic String getDestinationType()
ITKTransportRoutegetDestinationType in interface ITKTransportRouteITKTransportRoute.DIRECT or ITKTransportRoute.ROUTEDpublic String getWrapperType()
ITKTransportRoutegetWrapperType in interface ITKTransportRouteITKTransportRoute.NO_WRAPPER or ITKTransportRoute.DISTRIBUTION_ENVELOPEpublic void setWrapperType(String wrapperType)
ITKTransportRoutesetWrapperType in interface ITKTransportRoutewrapperType - The wrapper type - can be one of
ITKTransportRoute.NO_WRAPPER or ITKTransportRoute.DISTRIBUTION_ENVELOPEpublic int getTimeToLive()
ITKTransportRoutegetTimeToLive in interface ITKTransportRouteAll content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated