Class Jt400EndpointBuilderFactory.Jt400HeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.Jt400EndpointBuilderFactory.Jt400HeaderNameBuilder
-
- Enclosing interface:
- Jt400EndpointBuilderFactory
public static class Jt400EndpointBuilderFactory.Jt400HeaderNameBuilder extends Object
The builder of headers' name for the JT400 component.
-
-
Constructor Summary
Constructors Constructor Description Jt400HeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
jt400Message()
The message received.String
jt400MessageDefaultReply()
The default message reply, when the message is an inquiry message.String
jt400MessageFile()
The message file name.String
jt400MessageID()
The message identifier.String
jt400MessageReplyToKey()
Consumer: The key of the message that will be replied to (if the sendingReply parameter is set to true).String
jt400MessageSeverity()
The message severity (Valid values are between 0 and 99, or -1 if it is not set).String
jt400MessageType()
The message type (corresponds to constants defined in the AS400Message class).String
kEY()
The data queue key.String
senderInformation()
Data queues: Returns the sender information for this data queue entry, or an empty string if not available.Message queues: The job identifier of the sending job.
-
-
-
Method Detail
-
senderInformation
public String senderInformation()
Data queues: Returns the sender information for this data queue entry, or an empty string if not available.Message queues: The job identifier of the sending job. The option is a:String
type. Group: consumer- Returns:
- the name of the header
SENDER_INFORMATION
.
-
kEY
public String kEY()
The data queue key. The option is a:String or byte[]
type. Group: common- Returns:
- the name of the header
KEY
.
-
jt400Message
public String jt400Message()
The message received. The option is a:com.ibm.as400.access.QueuedMessage
type. Group: consumer- Returns:
- the name of the header
Jt400Message
.
-
jt400MessageID
public String jt400MessageID()
The message identifier. The option is a:String
type. Group: consumer- Returns:
- the name of the header
Jt400MessageID
.
-
jt400MessageFile
public String jt400MessageFile()
The message file name. The option is a:String
type. Group: consumer- Returns:
- the name of the header
Jt400MessageFile
.
-
jt400MessageType
public String jt400MessageType()
The message type (corresponds to constants defined in the AS400Message class). The option is a:Integer
type. Group: consumer- Returns:
- the name of the header
Jt400MessageType
.
-
jt400MessageSeverity
public String jt400MessageSeverity()
The message severity (Valid values are between 0 and 99, or -1 if it is not set). The option is a:Integer
type. Group: consumer- Returns:
- the name of the header
Jt400MessageSeverity
.
-
jt400MessageDefaultReply
public String jt400MessageDefaultReply()
The default message reply, when the message is an inquiry message. The option is a:String
type. Group: consumer- Returns:
- the name of the header
Jt400MessageDefaultReply
.
-
jt400MessageReplyToKey
public String jt400MessageReplyToKey()
Consumer: The key of the message that will be replied to (if the sendingReply parameter is set to true). Producer: If set, and if the message body is not empty, a new message will not be sent to the provided message queue. Instead, a response will be sent to the message identified by the given key. This is set automatically when reading from the message queue if the sendingReply parameter is set to true. The option is a:byte[]
type. Group: common- Returns:
- the name of the header
Jt400MessageReplyToKey
.
-
-