Package com.trafficparrot.sdk.jms
Class JmsResponse
java.lang.Object
com.trafficparrot.sdk.messaging.JmsResponse
com.trafficparrot.sdk.jms.JmsResponse
- All Implemented Interfaces:
Comparable<JmsResponse>
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<JmsProperty>Deprecated.Hides the inheritedpropertieswith its old element type.Fields inherited from class com.trafficparrot.sdk.messaging.JmsResponse
bodyFileName, bodyType, destination, destinationLookup, fixedDelayMilliseconds, jakartaResponseMessage, jmsMessageType, jmsResponseTransformerClassName, jmsResponseTransformerParameters, NO_TRANSFORMER, resolvedText, responseMessage, text -
Constructor Summary
ConstructorsConstructorDescriptionJmsResponse(Destination destination, Object object) Deprecated.JmsResponse(Destination destination, String text) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, com.github.tomakehurst.wiremock.extension.Parameters jmsResponseTransformerParameters, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds, Optional<?> destinationLookup, Optional<javax.jms.Message> responseMessage) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, Object object) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, List<JmsProperty> properties, long fixedDelayInMilliseconds) Deprecated.JmsResponse(Destination destination, Object object) Deprecated.JmsResponse(Destination destination, String text) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, com.github.tomakehurst.wiremock.extension.Parameters jmsResponseTransformerParameters, String text, String bodyFileName, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds, Optional<DestinationLookup> destinationLookup, Optional<javax.jms.Message> responseMessage) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, Object object) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds) Deprecated.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, List<JmsProperty> properties, long fixedDelayInMilliseconds) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic JmsResponsebase64BytesResponse(Destination destination, byte[] bytes) Deprecated.static JmsResponsebase64BytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated.static JmsResponsebase64BytesResponse(Destination destination, byte[] bytes) Deprecated.static JmsResponsebase64BytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated.intcompareTo(JmsResponse other) Deprecated.ThecompareToplugins compiled when this class wasComparable<JmsResponse>.static JmsResponseprintableCharactersBytesResponse(Destination destination, byte[] bytes) Deprecated.static JmsResponseprintableCharactersBytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated.static JmsResponseprintableCharactersBytesResponse(Destination destination, byte[] bytes) Deprecated.static JmsResponseprintableCharactersBytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated.static JmsResponsewithJakartaResponseMessage(Destination destination, jakarta.jms.Message jakartaMessage, long fixedDelayMilliseconds, Optional<DestinationLookup> destinationLookup) Deprecated.withResolvedText(String resolvedText) Deprecated.Returns a copy withresolvedTextset (the content read fromJmsResponse.bodyFileNameat load time).Methods inherited from class com.trafficparrot.sdk.messaging.JmsResponse
compareTo, effectiveText, hasTransformer, toString, validate
-
Field Details
-
properties
Deprecated.Hides the inheritedpropertieswith its old element type. The descriptor is the same erasedjava.util.List, so no compiled plugin needs this; source does: without it,List<jms.JmsProperty> p = response.propertiesstops compiling. Same list object as the parent's.
-
-
Constructor Details
-
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, com.github.tomakehurst.wiremock.extension.Parameters jmsResponseTransformerParameters, String text, String bodyFileName, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds, Optional<DestinationLookup> destinationLookup, Optional<javax.jms.Message> responseMessage) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, List<JmsProperty> properties, long fixedDelayInMilliseconds) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType) Deprecated. -
JmsResponse
Deprecated. -
JmsResponse
Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, Object object) throws com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
JmsResponse
public JmsResponse(Destination destination, Object object) throws com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, com.github.tomakehurst.wiremock.extension.Parameters jmsResponseTransformerParameters, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds, Optional<?> destinationLookup, Optional<javax.jms.Message> responseMessage) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, List<JmsProperty> properties, long fixedDelayInMilliseconds) Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType) Deprecated. -
JmsResponse
Deprecated. -
JmsResponse
Deprecated. -
JmsResponse
public JmsResponse(Destination destination, String jmsResponseTransformerClassName, Object object) throws com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
JmsResponse
public JmsResponse(Destination destination, Object object) throws com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-
Method Details
-
base64BytesResponse
Deprecated. -
base64BytesResponse
public static JmsResponse base64BytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated. -
printableCharactersBytesResponse
Deprecated. -
printableCharactersBytesResponse
public static JmsResponse printableCharactersBytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated. -
base64BytesResponse
Deprecated. -
base64BytesResponse
public static JmsResponse base64BytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated. -
printableCharactersBytesResponse
Deprecated. -
printableCharactersBytesResponse
public static JmsResponse printableCharactersBytesResponse(Destination destination, String jmsResponseTransformerClassName, byte[] bytes) Deprecated. -
withJakartaResponseMessage
public static JmsResponse withJakartaResponseMessage(Destination destination, jakarta.jms.Message jakartaMessage, long fixedDelayMilliseconds, Optional<DestinationLookup> destinationLookup) Deprecated. -
withResolvedText
Deprecated.Description copied from class:JmsResponseReturns a copy withresolvedTextset (the content read fromJmsResponse.bodyFileNameat load time). Every persisted field is preserved so a subsequent save re-writesbodyFileNamewith nulltext, keeping the sidecar reference intact.- Overrides:
withResolvedTextin classJmsResponse
-
compareTo
Deprecated.ThecompareToplugins compiled when this class wasComparable<JmsResponse>.
-
JmsResponseinstead. This class extends the new location and keeps the members plugins compiled against earlier SDKs link to: those taking thecom.trafficparrot.sdk.messagingtypes, and the older ones taking thecom.trafficparrot.sdk.jmstypes.