public abstract class JmsSubscription extends AbstractSubscription implements javax.jms.MessageListener
broker, consumerReference, contentFilter, datatypeFactory, QNAME_MESSAGE_CONTENT, QNAME_PRODUCER_PROPERTIES, QNAME_TOPIC_EXPRESSION, QNAME_USE_RAW, terminationTime, topic, useRaw, WSN_URI, XPATH1_URI
address, endpoint, endpointEpr, manager, name
Constructor and Description |
---|
JmsSubscription(String name) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doFilter(Element content) |
protected abstract void |
doNotify(Notify notify) |
javax.jms.Connection |
getConnection() |
void |
onMessage(javax.jms.Message jmsMessage) |
protected void |
pause() |
protected void |
renew(XMLGregorianCalendar terminationTime) |
protected void |
resume() |
void |
setConnection(javax.jms.Connection connection) |
protected void |
start() |
protected void |
unsubscribe() |
protected void |
validateSubscription(Subscribe subscribeRequest) |
create, getBroker, getCurrentTime, getTerminationTime, parseTerminationTime, pauseSubscription, renew, resumeSubscription, setBroker, setTerminationTime, unsubscribe, validateInitialTerminationTime, validateTerminationTime
getAddress, getEpr, getManager, getMBeanName, getName, getWSDLLocation, register, setAddress, setManager, unregister
public JmsSubscription(String name)
protected void start() throws SubscribeCreationFailedFault
start
in class AbstractSubscription
SubscribeCreationFailedFault
protected void validateSubscription(Subscribe subscribeRequest) throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault, UnsupportedPolicyRequestFault, UnrecognizedPolicyRequestFault
validateSubscription
in class AbstractSubscription
InvalidFilterFault
InvalidMessageContentExpressionFault
InvalidProducerPropertiesExpressionFault
InvalidTopicExpressionFault
SubscribeCreationFailedFault
TopicExpressionDialectUnknownFault
TopicNotSupportedFault
UnacceptableInitialTerminationTimeFault
UnsupportedPolicyRequestFault
UnrecognizedPolicyRequestFault
protected void pause() throws PauseFailedFault
pause
in class AbstractSubscription
PauseFailedFault
protected void resume() throws ResumeFailedFault
resume
in class AbstractSubscription
ResumeFailedFault
protected void renew(XMLGregorianCalendar terminationTime) throws UnacceptableTerminationTimeFault
renew
in class AbstractSubscription
UnacceptableTerminationTimeFault
protected void unsubscribe() throws UnableToDestroySubscriptionFault
unsubscribe
in class AbstractSubscription
UnableToDestroySubscriptionFault
public javax.jms.Connection getConnection()
public void setConnection(javax.jms.Connection connection)
public void onMessage(javax.jms.Message jmsMessage)
onMessage
in interface javax.jms.MessageListener
protected boolean doFilter(Element content)
protected abstract void doNotify(Notify notify)
Apache CXF