QUALITY: moved ControlBus to avoid cyclic dependency
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.integration.control;
|
||||
|
||||
import javax.management.MBeanServer;
|
||||
package org.springframework.integration.jmx;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
@@ -26,12 +24,12 @@ import org.springframework.beans.factory.ListableBeanFactory;
|
||||
import org.springframework.integration.Message;
|
||||
import org.springframework.integration.MessageHeaders;
|
||||
import org.springframework.integration.core.SubscribableChannel;
|
||||
import org.springframework.integration.jmx.JmxHeaders;
|
||||
import org.springframework.integration.jmx.OperationInvokingMessageHandler;
|
||||
import org.springframework.integration.monitor.ObjectNameLocator;
|
||||
import org.springframework.integration.support.MessageBuilder;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
import javax.management.MBeanServer;
|
||||
|
||||
/**
|
||||
* JMX-based Control Bus implementation. Routes control messages on an operation channel to the other control points
|
||||
* (channels and handlers) via JMX. To use the control bus send a message to the operation channel with a header
|
||||
@@ -17,7 +17,7 @@ package org.springframework.integration.jmx.config;
|
||||
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
import org.springframework.integration.channel.DirectChannel;
|
||||
import org.springframework.integration.control.ControlBus;
|
||||
import org.springframework.integration.jmx.ControlBus;
|
||||
import org.springframework.integration.core.SubscribableChannel;
|
||||
import org.springframework.integration.monitor.IntegrationMBeanExporter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user