Class SimpleJmsPublisher

java.lang.Object
org.jumpmind.symmetric.integrate.SimpleJmsPublisher
All Implemented Interfaces:
IPublisher, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

@ManagedResource(description="The management interface for an jms publisher") public class SimpleJmsPublisher extends Object implements IPublisher, org.springframework.beans.factory.BeanFactoryAware
  • Field Details

    • enabled

      public boolean enabled
  • Constructor Details

    • SimpleJmsPublisher

      public SimpleJmsPublisher()
  • Method Details

    • publish

      public void publish(Context context, String text)
      Specified by:
      publish in interface IPublisher
    • isEnabled

      public boolean isEnabled()
    • publish

      @ManagedOperation(description="Publishes the message text passed in as an argument") @ManagedOperationParameters(@ManagedOperationParameter(name="text",description="The message text that will be published")) public boolean publish(String text)
    • setEnabled

      public void setEnabled(boolean enable)
    • setJmsTemplateBeanName

      public void setJmsTemplateBeanName(String jmsTemplateBeanName)
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException