Package org.apache.cxf.ws.rm
Class RMManager
java.lang.Object
org.apache.cxf.ws.rm.RMManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMessage contextual property giving WS-ReliableMessaging acknowledgement interval (Long).static final StringMessage contextual property giving WS-ReliableMessaging exponential backoff flag (Boolean).static final StringMessage contextual property giving WS-ReliableMessaging inactivity timeout (Long).static final StringMessage contextual property giving the last message flag (Boolean).static final StringMessage contextual property giving WS-ReliableMessaging base retransmission interval (Long).static final StringMessage contextual property giving WS-ReliableMessaging namespace.static final StringMessage contextual property giving addressing namespace to be used by WS-RM implementation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclientCreated(Client client) voidclientDestroyed(Client client) getBindingFaultFactory(Binding binding) getBus()Get base configuration for manager.getDestination(Message message) Get configuration after applying policies.getReliableEndpoint(Message message) Get interceptor chain for retransmitting a message.getSequence(Identifier inSeqId, Message message, AddressingProperties maps) getStore()getTimer()voidvoidClones and saves the interceptor chain the first time this is called, so that it can be used for retransmission.voidvoidsetConfiguration(RMConfiguration configuration) voidvoidsetDestinationPolicy(DestinationPolicyType destinationPolicy) voidsetIdGenerator(SequenceIdentifierGenerator generator) voidsetRedeliveryQueue(RedeliveryQueue redeliveryQueue) voidvoidvoidvoidsetRMNamespace(String uri) voidvoidvoidshutdown()voidstartServer(Server server) voidstopServer(Server server)
-
Field Details
-
WSRM_VERSION_PROPERTY
Message contextual property giving WS-ReliableMessaging namespace.- See Also:
-
WSRM_WSA_VERSION_PROPERTY
Message contextual property giving addressing namespace to be used by WS-RM implementation.- See Also:
-
WSRM_LAST_MESSAGE_PROPERTY
Message contextual property giving the last message flag (Boolean).- See Also:
-
WSRM_INACTIVITY_TIMEOUT_PROPERTY
Message contextual property giving WS-ReliableMessaging inactivity timeout (Long).- See Also:
-
WSRM_RETRANSMISSION_INTERVAL_PROPERTY
Message contextual property giving WS-ReliableMessaging base retransmission interval (Long).- See Also:
-
WSRM_EXPONENTIAL_BACKOFF_PROPERTY
Message contextual property giving WS-ReliableMessaging exponential backoff flag (Boolean).- See Also:
-
WSRM_ACKNOWLEDGEMENT_INTERVAL_PROPERTY
Message contextual property giving WS-ReliableMessaging acknowledgement interval (Long).- See Also:
-
-
Constructor Details
-
RMManager
public RMManager()
-
-
Method Details
-
startServer
-
stopServer
-
clientCreated
-
clientDestroyed
-
setRMNamespace
-
setRM10AddressingNamespace
-
getBus
-
setBus
-
getStore
-
setStore
-
getRetransmissionQueue
-
setRetransmissionQueue
-
getRedeliveryQueue
-
setRedeliveryQueue
-
getIdGenerator
-
setIdGenerator
-
getTimer
-
getBindingFaultFactory
-
setDeliveryAssurance
- Parameters:
dat- The deliveryAssurance to set.
-
getDestinationPolicy
- Returns:
- Returns the destinationPolicy.
-
setDestinationPolicy
- Parameters:
destinationPolicy- The destinationPolicy to set.
-
getConfiguration
Get base configuration for manager. This needs to be modified by endpoint policies to get the effective configuration.- Returns:
- configuration (non-
null)
-
setConfiguration
- Parameters:
configuration- (non-null)
-
getEffectiveConfiguration
Get configuration after applying policies.- Parameters:
msg-- Returns:
- configuration (non-
null)
-
setRMAssertion
- Parameters:
rma- The rmAssertion to set.
-
getSourcePolicy
- Returns:
- Returns the sourcePolicy.
-
setSourcePolicy
- Parameters:
sp- The sourcePolicy to set.
-
getReliableEndpoint
- Throws:
RMException
-
findReliableEndpoint
-
getDestination
- Throws:
RMException
-
getSource
- Throws:
RMException
-
getSequence
public SourceSequence getSequence(Identifier inSeqId, Message message, AddressingProperties maps) throws RMException - Throws:
RMException
-
shutdown
@PreDestroy public void shutdown() -
init
-
initializeInterceptorChain
Clones and saves the interceptor chain the first time this is called, so that it can be used for retransmission. Calls after the first are ignored.- Parameters:
msg-
-
getRetransmitChain
Get interceptor chain for retransmitting a message.- Returns:
- chain (
nullif none set)
-