Examples of send()


Examples of org.jboss.example.jms.statelessclustered.bean.StatelessClusteredSessionExample.send()

      String queueName = getDestinationJNDIName();
      String text = "Hello!";

      bean.drain(queueName);

      bean.send("Hello!", queueName);
      log("The " + text + " message was successfully sent to the " + queueName + " queue");

      int num = bean.browse(queueName);
      bean.remove();
View Full Code Here

Examples of org.jboss.identity.federation.web.util.IDPWebRequestUtil.send()

            finally
            {
               try
               {
                  if(this.signOutgoingMessages)
                     webRequestUtil.send(samlResponse, destination,relayState, response, true,
                           this.keyManager.getSigningKey());
                  else
                     webRequestUtil.send(samlResponse, destination, relayState, response, false,null);
               }
               catch (ParsingException e)
View Full Code Here

Examples of org.jboss.jms.client.JBossMessageProducer.send()

         jProd.enableOrderingGroup("MyAnotherOrderingGroup");

         for (int i = 1; i < NUM_MSG; i++)
         {
            TextMessage tm = session.createTextMessage("message " + i);
            jProd.send(tm);
         }

         for (int i = 1; i < NUM_MSG; i++)
         {
            TextMessage rm = (TextMessage)consmr.receive(5000);
View Full Code Here

Examples of org.jboss.jms.server.endpoint.SessionEndpoint.send()

      if (endpoint == null)
      {
         throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
      }

      endpoint.send(msg, checkForDuplicates);
     
      return null;
   }

   public void write(DataOutputStream os) throws Exception
View Full Code Here

Examples of org.jboss.jms.server.endpoint.advised.SessionAdvised.send()

      SessionAdvised advised =
         (SessionAdvised)Dispatcher.instance.getTarget(objectId);
     
      if (advised != null)
      {        
         advised.send(msg, checkForDuplicates, sequence);
      }
      else
      {       
         if (!oneway)
         {
View Full Code Here

Examples of org.jboss.narayana.blacktie.jatmibroker.core.transport.Sender.send()

    Transport proxy = factory.createTransport();
    Sender serviceFactory = proxy.getSender("BAR", false);

    String aString = "Hello from Java Land";
    Receiver endpoint = proxy.createReceiver(1, null);
    serviceFactory.send(endpoint.getReplyTo(), (short) 0, 0,
        aString.getBytes(), aString.getBytes().length, 0, 0, 0,
        "X_OCTET", "");
    Message receive = endpoint.receive(0);

    assertNotNull(receive);
View Full Code Here

Examples of org.jbpm.env.session.MessageSession.send()

  public void sendContinuationMessage(AtomicOperation operation) {
    Environment environment = Environment.getCurrent();
    MessageSession messageSession = environment.get(MessageSession.class);
    Message asyncMessage = operation.createAsyncMessage(this);
    lock("async continuation message "+asyncMessage);
    messageSession.send(asyncMessage);
  }

  public void performAtomicOperationSync(AtomicOperation operation) {
    if (atomicOperations==null) {
      atomicOperations = new LinkedList<AtomicOperation>();
View Full Code Here

Examples of org.jbpm.msg.MessageService.send()

      for (Action action : actions) {
        if (action.acceptsPropagatedEvents() || (!isPropagated)) {
          if (action.isAsync()) {
            ExecuteActionJob job = createAsyncActionExecutionJob(executionContext.getToken(), action);
            MessageService messageService = (MessageService) Services.getCurrentService(Services.SERVICENAME_MESSAGE);
            messageService.send(job);
          } else {
            executeAction(action, executionContext);
          }
        }
      }
View Full Code Here

Examples of org.jbpm.pvm.internal.session.MessageSession.send()

    this.message = message;
  }

  public Object execute(Environment environment) throws Exception {
    MessageSession messageSession = environment.get(MessageSession.class);
    messageSession.send(message);
    return null;
  }
}
View Full Code Here

Examples of org.jdesktop.wonderland.client.cell.CellEditChannelConnection.send()

            // parent. We need to send this over the cell edit connection,
            // rather than the cell connection.
            CellEditChannelConnection connection =
                    (CellEditChannelConnection) session.getConnection(
                    CellEditConnectionType.CLIENT_TYPE);
            connection.send(new CellReparentMessage(cellID, parentCellID, newChildLocal));

            // Turn off the selected node border and repaint the tree.
            dragOverTreeNode = null;
            cellHierarchyTree.repaint();
        }
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.