org.apache.servicemix.jbi.nmr
Interface Broker

All Superinterfaces:
BrokerMBean, javax.jbi.management.LifeCycleMBean
All Known Implementing Classes:
DefaultBroker, SecuredBroker

public interface Broker
extends BrokerMBean

The Broker handles Normalized Message Routing within ServiceMix

Version:
$Revision: 564607 $

Field Summary
 
Fields inherited from interface javax.jbi.management.LifeCycleMBean
SHUTDOWN, STARTED, STOPPED, UNKNOWN
 
Method Summary
 JBIContainer getContainer()
           
 void init(JBIContainer container)
          initialize the broker
 void resume()
          resume message exchange processing
 void sendExchangePacket(javax.jbi.messaging.MessageExchange exchange)
          Route an ExchangePacket to a destination
 void suspend()
          suspend the flow to prevent any message exchanges
 
Methods inherited from interface javax.jbi.management.LifeCycleMBean
getCurrentState, shutDown, start, stop
 

Method Detail

getContainer

JBIContainer getContainer()

init

void init(JBIContainer container)
          throws javax.jbi.JBIException
initialize the broker

Parameters:
container -
Throws:
javax.jbi.JBIException

suspend

void suspend()
suspend the flow to prevent any message exchanges


resume

void resume()
resume message exchange processing


sendExchangePacket

void sendExchangePacket(javax.jbi.messaging.MessageExchange exchange)
                        throws javax.jbi.JBIException
Route an ExchangePacket to a destination

Parameters:
exchange -
Throws:
javax.jbi.JBIException


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.