Uses of Class
com.trafficparrot.sdk.jms.MessageBodyType
Packages that use MessageBodyType
Package
Description
File message extensions: the base class of a response transformer for file messages,
FileMessageResponseTransformer, with the request file and the response it works
with.The names the JMS classes had before they moved to
com.trafficparrot.sdk.messaging.-
Uses of MessageBodyType in com.trafficparrot.sdk.file
Constructors in com.trafficparrot.sdk.file with parameters of type MessageBodyTypeModifierConstructorDescriptionFileMessageResponse(Destination destination, String fileMessageResponseTransformerClassName, String fileName, String text, MessageBodyType bodyType) Creates a response whose body is given inline, from the deprecatedcom.trafficparrot.sdk.jmstypes. -
Uses of MessageBodyType in com.trafficparrot.sdk.jms
Fields in com.trafficparrot.sdk.jms declared as MessageBodyTypeModifier and TypeFieldDescriptionstatic MessageBodyTypeMessageBodyType.BYTESDeprecated.A binary body held as Base64: the response's text is the Base64 of the bytes to send.static MessageBodyTypeMessageBodyType.PRINTABLE_CHARACTERSDeprecated.A binary body held in the printable-characters encoding: the response's text is that encoding of the bytes to send.static MessageBodyTypeMessageBodyType.TEXTDeprecated.A text body: the response's text is the body.static MessageBodyTypeMessageBodyType.UNKNOWN_BODY_TYPEDeprecated.Stands in where a body type is not known or does not apply.Methods in com.trafficparrot.sdk.jms that return MessageBodyTypeModifier and TypeMethodDescriptionstatic MessageBodyTypeMessageBodyType.anyJavaClassType()Deprecated.The body typejava.lang.Object, which stands for a Java object of any class.static MessageBodyTypeMessageBodyType.anyJavaProtoMessageType()Deprecated.The body typejavaProto/*, which stands for a protobuf message of any type with a Java class.static MessageBodyTypeMessageBodyType.javaClassType(Object object) Deprecated.The type of a body that is this Java object.static MessageBodyTypeMessageBodyType.javaProtoMessageType(String javaAndProtoTypeName) Deprecated.The type of a body that is a protobuf message with a Java class, when the class and the message type have one name.static MessageBodyTypeMessageBodyType.javaProtoMessageType(String javaTypeName, String protoTypeName) Deprecated.The type of a body that is a protobuf message with a Java class.static MessageBodyTypeMessageBodyType.protoMessageType(String typeName) Deprecated.The type of a body that is a protobuf message.Methods in com.trafficparrot.sdk.jms with parameters of type MessageBodyTypeModifier and TypeMethodDescriptionbooleanMessageBodyType.canRepresent(MessageBodyType bodyType) Deprecated.ThecanRepresentfor plugins compiled against thecom.trafficparrot.sdk.jmstypes.static StringJmsMessageType.jmsMessageType(MessageBodyType bodyType) Deprecated.The overload for plugins compiled against thecom.trafficparrot.sdk.jmstypes.Constructors in com.trafficparrot.sdk.jms with parameters of type MessageBodyTypeModifierConstructorDescriptionJmsResponse(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.Creates a response with an inline body and every other field, from thecom.trafficparrot.sdk.jmstypes.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType) Deprecated.Creates a response with an inline body of a given type, from thecom.trafficparrot.sdk.jmstypes.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, String jmsMessageType, List<JmsProperty> properties, Long fixedDelayInMilliseconds) Deprecated.Creates a response with an inline body, JMS properties, a delay and a JMS message type, from thecom.trafficparrot.sdk.jmstypes.JmsResponse(Destination destination, String jmsResponseTransformerClassName, String text, MessageBodyType bodyType, List<JmsProperty> properties, long fixedDelayInMilliseconds) Deprecated.Creates a response with an inline body, JMS properties and a delay, from thecom.trafficparrot.sdk.jmstypes.