Package org.servicemix.jbi.messaging

Examples of org.servicemix.jbi.messaging.ExchangePacket


        if (filter != null) {
            result = filter.matches(exchange);
        }
        else {
            ExchangePacket packet = exchange.getPacket();
            ComponentNameSpace sourceId = packet.getSourceId();
            if (sourceId != null) {
                // get the list of services
                if (service != null) {
                    ServiceEndpoint[] ses = registry.getEndpointsForService(service);
                    if (ses != null) {
View Full Code Here


     * Check if the given packet should be persisted or not.
     * @param packet
     * @return
     */
    protected boolean isPersistent(MessageExchange me) {
        ExchangePacket packet = ((MessageExchangeImpl) me).getPacket();
      if (packet.getPersistent() != null) {
        return packet.getPersistent().booleanValue();
      } else {
        return broker.getContainer().isPersistent();
      }
    }
View Full Code Here

TOP

Related Classes of org.servicemix.jbi.messaging.ExchangePacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.