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(org.apache.cxf.endpoint.Client client) voidclientDestroyed(org.apache.cxf.endpoint.Client client) getBindingFaultFactory(org.apache.cxf.binding.Binding binding) org.apache.cxf.BusgetBus()Get base configuration for manager.getDestination(org.apache.cxf.message.Message message) getEffectiveConfiguration(org.apache.cxf.message.Message msg) Get configuration after applying policies.getReliableEndpoint(org.apache.cxf.message.Message message) org.apache.cxf.phase.PhaseInterceptorChaingetRetransmitChain(org.apache.cxf.message.Message msg) Get interceptor chain for retransmitting a message.getSequence(Identifier inSeqId, org.apache.cxf.message.Message message, org.apache.cxf.ws.addressing.AddressingProperties maps) getSource(org.apache.cxf.message.Message message) getStore()getTimer()voidinit(org.apache.cxf.Bus b) voidinitializeInterceptorChain(org.apache.cxf.message.Message msg) Clones and saves the interceptor chain the first time this is called, so that it can be used for retransmission.voidsetBus(org.apache.cxf.Bus b) voidsetConfiguration(RMConfiguration configuration) voidvoidsetDestinationPolicy(DestinationPolicyType destinationPolicy) voidsetIdGenerator(SequenceIdentifierGenerator generator) voidsetRedeliveryQueue(RedeliveryQueue redeliveryQueue) voidvoidvoidvoidsetRMNamespace(String uri) voidvoidvoidshutdown()voidstartServer(org.apache.cxf.endpoint.Server server) voidstopServer(org.apache.cxf.endpoint.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
public void startServer(org.apache.cxf.endpoint.Server server) -
stopServer
public void stopServer(org.apache.cxf.endpoint.Server server) -
clientCreated
public void clientCreated(org.apache.cxf.endpoint.Client client) -
clientDestroyed
public void clientDestroyed(org.apache.cxf.endpoint.Client client) -
setRMNamespace
-
setRM10AddressingNamespace
-
getBus
public org.apache.cxf.Bus getBus() -
setBus
public void setBus(org.apache.cxf.Bus b) -
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, org.apache.cxf.message.Message message, org.apache.cxf.ws.addressing.AddressingProperties maps) throws RMException - Throws:
RMException
-
shutdown
@PreDestroy public void shutdown() -
init
public void init(org.apache.cxf.Bus b) -
initializeInterceptorChain
public void initializeInterceptorChain(org.apache.cxf.message.Message msg) 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
public org.apache.cxf.phase.PhaseInterceptorChain getRetransmitChain(org.apache.cxf.message.Message msg) Get interceptor chain for retransmitting a message.- Returns:
- chain (
nullif none set)
-