Examples of SequenceEntry


Examples of org.apache.sandesha2.workers.SequenceEntry

   * @param sequenceId
   */
  public synchronized void schedulePollingRequest(String sequenceId, boolean rmSource) {
    if(log.isDebugEnabled()) log.debug("Enter: PollingManager::shedulePollingRequest, " + sequenceId);
   
    SequenceEntry entry = new SequenceEntry(sequenceId, rmSource);
    scheduledPollingRequests.add(entry);
    this.wakeThread();
   
    if(log.isDebugEnabled()) log.debug("Exit: PollingManager::shedulePollingRequest");
  }
View Full Code Here

Examples of org.apache.sandesha2.workers.SequenceEntry

    MessageContext createSeqContext = createSequenceMsg.getMessageContext();
   
    // If this create is the result of a MakeConnection, then we must have a related
    // outbound sequence.
    SequenceEntry entry = (SequenceEntry) createSeqContext.getProperty(Sandesha2Constants.MessageContextProperties.MAKECONNECTION_ENTRY);
    if(log.isDebugEnabled()) log.debug("This message is associated with sequence entry: " + entry);
    if(entry != null && entry.isRmSource()) {
      rmdBean.setOutboundInternalSequence(entry.getSequenceId());
    }

    rmdBean.setServerCompletedMessages(new RangeString());
   
    rmdBean.setReplyToEndpointReference(to);
View Full Code Here

Examples of org.apache.sandesha2.workers.SequenceEntry

    MessagePending messagePending = message.getMessagePending();
    if (messagePending!=null) {
      boolean pending = messagePending.isPending();
      if (pending) {
        SequenceEntry entry = (SequenceEntry) message.getProperty(Sandesha2Constants.MessageContextProperties.MAKECONNECTION_ENTRY);
        if(entry != null) {
          ConfigurationContext context = message.getConfigurationContext();
          StorageManager storage = SandeshaUtil.getSandeshaStorageManager(context, context.getAxisConfiguration());
          PollingManager pollingManager = storage.getPollingManager();
          if(pollingManager != null) pollingManager.schedulePollingRequest(entry.getSequenceId(), entry.isRmSource());
        }
      }
    }
     
   
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.