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()
ITKTransportRoute
getTransportType
in interface ITKTransportRoute
ITKTransportRoute.DTS
; ITKTransportRoute.HTTP_WS
;
ITKTransportRoute.SPINE_TMS
or ITKTransportRoute.UNKNOWN
public String getPhysicalAddress()
ITKTransportRoute
getPhysicalAddress
in interface ITKTransportRoute
public String getReplyToAddress()
ITKTransportRoute
getReplyToAddress
in interface ITKTransportRoute
public String getExceptionToAddress()
ITKTransportRoute
getExceptionToAddress
in interface ITKTransportRoute
public String getDestinationType()
ITKTransportRoute
getDestinationType
in interface ITKTransportRoute
ITKTransportRoute.DIRECT
or ITKTransportRoute.ROUTED
public String getWrapperType()
ITKTransportRoute
getWrapperType
in interface ITKTransportRoute
ITKTransportRoute.NO_WRAPPER
or ITKTransportRoute.DISTRIBUTION_ENVELOPE
public void setWrapperType(String wrapperType)
ITKTransportRoute
setWrapperType
in interface ITKTransportRoute
wrapperType
- The wrapper type - can be one of
ITKTransportRoute.NO_WRAPPER
or ITKTransportRoute.DISTRIBUTION_ENVELOPE
public int getTimeToLive()
ITKTransportRoute
getTimeToLive
in interface ITKTransportRoute
All 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