/**
  * States whether generic endpoint is a eventBased Return true; if eventBased
  *
  * @param inboundParameters Inbound Parameters for endpoint
  * @return boolean
  */
 public static boolean isEventBasedInboundEndpoint(InboundProcessorParams inboundParameters) {
   return inboundParameters
           .getProperties()
           .containsKey(GenericInboundListener.PARAM_INBOUND_ENDPOINT_BEHAVIOR)
       && PARAM_INBOUND_ENDPOINT_BEHAVIOR_EVENT_BASED.equals(
           inboundParameters
               .getProperties()
               .getProperty(GenericInboundListener.PARAM_INBOUND_ENDPOINT_BEHAVIOR));
 }
예제 #2
0
 public ConnectionRequestHandler(
     Socket connection, InboundProcessorParams params, int port, String host) throws ISOException {
   this.connection = connection;
   this.injectingSeq = params.getInjectingSeq();
   this.onErrorSeq = params.getOnErrorSeq();
   this.name = params.getName();
   this.synapseEnvironment = params.getSynapseEnvironment();
   this.params = params;
   this.port = port;
   this.host = host;
   this.packager = ISO8583PackagerFactory.getPackager();
   this.msgInject =
       new ISO8583MessageInject(injectingSeq, onErrorSeq, sequential, synapseEnvironment);
 }