- All Implemented Interfaces:
Serializable,Comparable<RmProtocolVersion>
This enumeration contains all currently supported WS-ReliableMessaging versions.
The choice of a WS-ReliableMessaging protocol version affects several attributes of Metro Reliable Messaging implementation, including the following:
- FQN of WS-Policy assertions advertised in the service's WSDL
- Namespace of Ws-ReliableMessaging protocol messages
- Metro Reliable Messaging processing logic
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringAction constantsfinal Stringfinal Stringfinal Stringfinal QNamefinal Stringfinal QNamefinal QNamefinal QNamefinal Stringfinal StringNamespacesfinal QNameSpecification assertion namefinal Stringfinal QNamefinal QNameFault codesfinal Stringfinal Stringfinal QNamefinal Stringfinal QName -
Method Summary
Modifier and TypeMethodDescriptionstatic RmProtocolVersionProvides a default reliable messaging version value.booleanDetermines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol faultbooleanisProtocolAction(String wsaAction) Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol messagebooleanisProtocolRequest(String wsaAction) Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request messagebooleanisProtocolResponse(String wsaAction) Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response messagetoString()static RmProtocolVersionReturns the enum constant of this type with the specified name.static RmProtocolVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WSRM200502
-
WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. This is currently the most up-to-date version.
You should primarily use this version for your WS endpoints. It is compatible with clients running on Metro 1.3 or .NET 3.5 and later.
- See Also:
-
-
Field Details
-
protocolNamespaceUri
Namespaces -
policyNamespaceUri
-
ackRequestedAction
Action constants -
createSequenceAction
-
createSequenceResponseAction
-
closeSequenceAction
-
closeSequenceResponseAction
-
sequenceAcknowledgementAction
-
wsrmFaultAction
-
terminateSequenceAction
-
terminateSequenceResponseAction
-
rmAssertionName
Specification assertion name -
sequenceTerminatedFaultCode
Fault codes -
unknownSequenceFaultCode
-
invalidAcknowledgementFaultCode
-
messageNumberRolloverFaultCode
-
lastMessageNumberExceededFaultCode
-
createSequenceRefusedFaultCode
-
sequenceClosedFaultCode
-
wsrmRequiredFaultCode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDefault
Provides a default reliable messaging version value.- Returns:
- a default reliable messaging version value. Currently returns
WSRM200702. - See Also:
-
isProtocolAction
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol message- Parameters:
wsaAction- WS-Addressing action string- Returns:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol message
-
isProtocolRequest
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request message- Parameters:
wsaAction- WS-Addressing action string- Returns:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request message
-
isProtocolResponse
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response message- Parameters:
wsaAction- WS-Addressing action string- Returns:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response message
-
isFault
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol fault- Parameters:
wsaAction- WS-Addressing action string- Returns:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol fault
-
toString
- Overrides:
toStringin classEnum<RmProtocolVersion>
-