Examples of deliver()


Examples of org.jboss.soa.esb.couriers.Courier.deliver()

        } else {
            Courier courier = null;

            try {
                courier = CourierFactory.getCourier(epr);
                courier.deliver(message);
            } catch (final CourierException e) {
                LOGGER.error("Failed to send " + messageType + " to address " + epr
                        + " for message " + message.getHeader(), e);
            } catch (final MalformedEPRException e) {
                LOGGER.error("Failed to send " + messageType + " to address " + epr
View Full Code Here

Examples of org.jboss.soa.esb.couriers.Courier.deliver()

                                if (null==call.getReplyTo())
                                        call.setReplyTo(DefaultReplyTo.getReplyTo(call.getTo()));
                                receiver        = CourierFactory.getPickupCourier(call.getReplyTo());
                        }
                       
                        sender.deliver(outgoing);
                        return (waitForResponse ? receiver.pickup(maxWaitMillis) : null) ;
                }
                finally
                {
                    CourierUtil.cleanCourier(sender) ;
View Full Code Here

Examples of org.jboss.soa.esb.couriers.TwoWayCourier.deliver()

                        }
                        call.setReplyTo(replyToEPR);
                    } else {
                        replyToEPR = null ;
                    }
                    if (courier.deliver(message)) {
                        if (synchronous) {
                            courier.cleanup() ;
                            // JBESB-1016 replyToEPR has to be non-null or we'd have dropped out by this point!

                            // do we need to do this for synchronous calls? Vagueries of Couriers?
View Full Code Here

Examples of org.jivesoftware.openfire.Connection.deliver()

            if (Log.isDebugEnabled()) {
                Log.debug("ConnectionHandler: Pinging connection that has been idle: " + connection);
            }

            connection.deliver(pingRequest);
            }
        }
    }
}
View Full Code Here

Examples of org.voltcore.messaging.Mailbox.deliver()

        outgoingMessages.add(new Message(HSId, message));

        Mailbox dest = postoffice.get(HSId);
        if (dest != null) {
            message.m_sourceHSId = m_hsId;
            dest.deliver(message);
        }
    }

    @Override
    public void send(long[] HSIds, VoltMessage message) {
View Full Code Here

Examples of pl.com.bottega.ecommerce.shipping.domain.Shipment.deliver()

    private ShipmentRepository repository;

    @Override
    public Void handle(DeliverShipmentCommand command) {
        Shipment shipment = repository.load(command.getShipmentId());
        shipment.deliver();
        return null;
    }
}
View Full Code Here

Examples of rinde.sim.core.model.pdp.PDPModel.deliver()

      } else if (inCargo) {
        // if it is in cargo, go to its destination
        rm.moveTo(this, curr.get().getDestination(), time);
        if (rm.getPosition(this).equals(curr.get().getDestination())) {
          // deliver when we arrive
          pm.deliver(this, curr.get(), time);
        }
      } else {
        // it is still available, go there as fast as possible
        rm.moveTo(this, curr.get(), time);
        if (rm.equalPosition(this, curr.get())) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.