public abstract class JmsPublisher extends AbstractPublisher implements org.apache.activemq.advisory.ConsumerListener
demand, publisherReference, topic
address, endpoint, manager, name
Constructor and Description |
---|
JmsPublisher(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
destroy() |
javax.jms.Connection |
getConnection() |
void |
notify(NotificationMessageHolderType messageHolder) |
void |
onConsumerEvent(org.apache.activemq.advisory.ConsumerEvent event) |
void |
setConnection(javax.jms.Connection connection) |
protected void |
start() |
protected abstract Object |
startSubscription(TopicExpressionType topic) |
protected abstract void |
stopSubscription(Object sub) |
protected void |
validatePublisher(RegisterPublisher registerPublisherRequest) |
create, destroyRegistration, getPublisherReference
getAddress, getEpr, getManager, getMBeanName, getName, getWSDLLocation, register, setAddress, setManager, unregister
public JmsPublisher(String name)
public javax.jms.Connection getConnection()
public void setConnection(javax.jms.Connection connection)
public void notify(NotificationMessageHolderType messageHolder)
notify
in class AbstractPublisher
protected void validatePublisher(RegisterPublisher registerPublisherRequest) throws InvalidTopicExpressionFault, PublisherRegistrationFailedFault, PublisherRegistrationRejectedFault, ResourceUnknownFault, TopicNotSupportedFault
protected void start() throws PublisherRegistrationFailedFault
start
in class AbstractPublisher
PublisherRegistrationFailedFault
protected void destroy() throws ResourceNotDestroyedFault
destroy
in class AbstractPublisher
ResourceNotDestroyedFault
public void onConsumerEvent(org.apache.activemq.advisory.ConsumerEvent event)
onConsumerEvent
in interface org.apache.activemq.advisory.ConsumerListener
protected abstract Object startSubscription(TopicExpressionType topic)
protected abstract void stopSubscription(Object sub)
Apache CXF