Examples of send()


Examples of no.kommune.bergen.soa.svarut.altinn.correspondence.CorrespondenceClient.send()

  @Test
  @Ignore
  public void sendLive() {
    CorrespondenceClient client = new CorrespondenceClient( settings );
    CorrespondenceMessage message = MockCorrespondenceClient.createMessage();
    int receiptId = client.send( message, null );
    Assert.assertFalse( 0 == receiptId );
  }

  @Test
  public void send() {
View Full Code Here

Examples of no.uib.cipr.matrix.distributed.Communicator.send()

    private Thread createSender(final Object send, final int rank,
            final int peer) {
        return new Thread(new Runnable() {
            public void run() {
                Communicator c = coll.createCommunicator(rank);
                c.send(send, peer);
            }
        });
    }

    private Thread createReceiver(final Object recv, final int rank,
View Full Code Here

Examples of open.dolphin.orcaapi.OrcaApi.send()

    private void sendClaim(List<RegisteredDiagnosisModel> sendList) {
        // ORCA API 通信
        if (Project.getProjectStub().isUseOrcaApi()) {
            OrcaApi orcaApi = OrcaApi.getInstance();
            orcaApi.setContext(getContext());
            orcaApi.send(sendList);
           
        // CLAIM 送信
        } else { try {
               
            ClaimSender sender = new ClaimSender();
View Full Code Here

Examples of org.activemq.ActiveMQMessageProducer.send()

        }
        ActiveMQMessageProducer messageProducer = getMessageProducer();

        // just in case let only one thread send at once
        synchronized (messageProducer) {
            messageProducer.send(destination, message, deliveryMode, priority, timeToLive);
        }
    }

    public Destination getDestination() {
        return destination;
View Full Code Here

Examples of org.activemq.transport.TransportChannel.send()

    public Receipt send(Packet packet, int timeout) throws JMSException {
        do {
            TransportChannel tc = getEstablishedChannel(timeout);
            if (tc != null) {
                try {
                    return tc.send(packet, timeout);
                }
                catch (TimeoutExpiredException e) {
                    throw e;
                }
                catch (UnsupportedWireFormatException uwf) {
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.JobEntityManager.send()

  public void testBasicJobExecutorOperation() throws Exception {
    CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutor();
    commandExecutor.execute(new Command<Void>() {
      public Void execute(CommandContext commandContext) {
        JobEntityManager jobManager = commandContext.getJobEntityManager();
        jobManager.send(createTweetMessage("message-one"));
        jobManager.send(createTweetMessage("message-two"));
        jobManager.send(createTweetMessage("message-three"));
        jobManager.send(createTweetMessage("message-four"));
       
        jobManager.schedule(createTweetTimer("timer-one", new Date()));
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.JobManager.send()

  public void testBasicJobExecutorOperation() throws Exception {
    CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutorTxRequired();
    commandExecutor.execute(new Command<Void>() {
      public Void execute(CommandContext commandContext) {
        JobManager jobManager = commandContext.getJobManager();
        jobManager.send(createTweetMessage("message-one"));
        jobManager.send(createTweetMessage("message-two"));
        jobManager.send(createTweetMessage("message-three"));
        jobManager.send(createTweetMessage("message-four"));
       
        jobManager.schedule(createTweetTimer("timer-one", new Date()));
View Full Code Here

Examples of org.agilewiki.jactor.JAFuture.send()

        try {
            Mailbox mailbox = mailboxFactory.createMailbox();
            Calculator calculator = new Calculator();
            calculator.initialize(mailbox);
            JAFuture future = new JAFuture();
            future.send(calculator, new Set(1));
            future.send(calculator, new Add(2));
            System.err.println(future.send(calculator, new Multiply(3)));
        } catch (Throwable e) {
            e.printStackTrace();
        } finally {
View Full Code Here

Examples of org.agilewiki.jfile.transactions.db.Checkpoint.send()

                        @Override
                        public void processResponse(Object response) throws Exception {
                            Checkpoint checkpoint = new Checkpoint(
                                    block.getCurrentPosition(),
                                    block.getTimestamp(), block.getFileName());
                            checkpoint.send(TransactionProcessor.this, getParent(), rp);
                        }
                    };
                    eval.send(TransactionProcessor.this, evaluator, evalrp);
                } else {
                    eval.send(TransactionProcessor.this, evaluator, rp);
View Full Code Here

Examples of org.agilewiki.jfile.transactions.db.OpenDbFile.send()

        AggregateTransaction aggregateIncrementTransaction =
                IncrementIntegerTransactionFactory.at(factoryMailbox, "counter");

        IMDB db1 = new IMDB(mailboxFactory, factory, directoryPath);
        db1.clearDirectory();
        openDbFile.send(future, db1);
        TransactionAggregator transactionAggregator1 = db1.getTransactionAggregator();

        TransactionAggregatorDriver transactionAggregatorDriver =
                new TransactionAggregatorDriver();
        transactionAggregatorDriver.initialize(mailboxFactory.createAsyncMailbox(), transactionAggregator1);
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.