public class AddressingHelper extends Object
Modifier | Constructor and Description |
---|---|
protected |
AddressingHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
configureRequestContext(Map<String,Object> requestContext,
MAP map)
JBossWS Native version to configure request context with MAP
|
static void |
configureRequestContext(Map<String,Object> requestContext,
MAP map,
String to,
String action)
JBossWS Native version to configure request context with MAP, to and action
|
static void |
configureRequestContext(Map<String,Object> requestContext,
String to,
String action)
JBossWS Native version to configure request context with to and action
|
static MAP |
createFaultContext(MAP map,
String messageID)
Create an addressing context that represents a fault to the specified addressing context.
|
static MAP |
createNotificationContext(String messageID)
Create an addressing context specifying only the message id for a notification.
|
static MAP |
createOneWayResponseContext(MAP map,
String messageID) |
static MAP |
createRequestContext(MAP map,
String messageID)
Create an addressing context that represents a notification to the specified context.
|
static MAP |
createRequestContext(String address,
String messageID)
Create an addressing context that represents a request to the specified address.
|
static MAP |
createRequestContext(String address,
String action,
String messageID)
Create an addressing context that represents a request to the specified address.
|
static MAP |
createResponseContext(MAP map,
String messageID)
Create an addressing context that represents an inline reply to the specified addressing context.
|
static MAP |
inboundMap(MessageContext ctx)
retrieve the inbound server message address properties attached to a message context
|
static void |
installActionMessageID(MAP map,
String action,
String messageID) |
static void |
installCallerProperties(MAP map,
MAP requestMap) |
static void |
installFaultTo(MAP map,
MAPEndpoint epReference,
InstanceIdentifier identifier) |
static void |
installFromFaultTo(MAP map,
MAPEndpoint epReference,
InstanceIdentifier identifier) |
static void |
installNoneReplyTo(MAP map) |
static boolean |
isNoneAddress(MAPEndpoint epref) |
static boolean |
isNoneReplyTo(MAP map) |
static MAP |
outboundMap(Map<String,Object> ctx)
retrieve the outbound client message address properties attached to a message request map
|
public static MAP createOneWayResponseContext(MAP map, String messageID)
public static MAP createResponseContext(MAP map, String messageID)
map
- The addressing context being replied to.messageID
- The message id of the new message.public static MAP createFaultContext(MAP map, String messageID)
map
- The addressing context being replied to.messageID
- The message id of the new message.public static MAP createRequestContext(String address, String messageID)
address
- TheendpointReference target address.messageID
- The message id of the new message.public static MAP createRequestContext(String address, String action, String messageID)
address
- TheendpointReference target address.messageID
- The message id of the new message.action
- The action of the new message.public static MAP createRequestContext(MAP map, String messageID)
map
- The addressing properties used to derive the notification addressing context.messageID
- The message id of the new message.public static MAP createNotificationContext(String messageID)
messageID
- The message id of the new message.public static void installActionMessageID(MAP map, String action, String messageID)
public static void installFaultTo(MAP map, MAPEndpoint epReference, InstanceIdentifier identifier)
public static void installFromFaultTo(MAP map, MAPEndpoint epReference, InstanceIdentifier identifier)
public static boolean isNoneReplyTo(MAP map)
public static boolean isNoneAddress(MAPEndpoint epref)
public static void installNoneReplyTo(MAP map)
public static void configureRequestContext(Map<String,Object> requestContext, MAP map, String to, String action)
requestContext
- map
- to
- action
- public static void configureRequestContext(Map<String,Object> requestContext, MAP map)
requestContext
- public static void configureRequestContext(Map<String,Object> requestContext, String to, String action)
requestContext
- to
- action
- public static MAP inboundMap(MessageContext ctx)
ctx
- the server message contextCopyright © 2017 JBoss by Red Hat. All rights reserved.