Example usage for org.springframework.jms.listener AbstractMessageListenerContainer isPubSubDomain

List of usage examples for org.springframework.jms.listener AbstractMessageListenerContainer isPubSubDomain

Introduction

In this page you can find the example usage for org.springframework.jms.listener AbstractMessageListenerContainer isPubSubDomain.

Prototype

public boolean isPubSubDomain() 

Source Link

Document

Return whether the Publish/Subscribe domain ( javax.jms.Topic Topics ) is used.

Usage

From source file:org.springframework.integration.jms.JmsDestinationBackedMessageChannel.java

@Override
public void afterPropertiesSet() throws Exception {
    super.afterPropertiesSet();
    AbstractMessageListenerContainer container = this.getListenerContainer();
    this.configureDispatcher(container.isPubSubDomain());
    container.setMessageListener(this);
    if (!container.isActive()) {
        container.afterPropertiesSet();/*from ww w .  ja v  a2  s.  com*/
    }
}