public Executor getExecutor() { return wrappedService.getExecutor(); }
public Executor getExecutor() { return executor == null ? service.getExecutor() : executor; }
public Executor getExecutor() { return executor == null ? service.getExecutor() : executor; }
public Executor getExecutor() { return service.getExecutor(); }
public Executor getExecutor() { return executor == null ? service.getExecutor() : executor; }
public Executor getExecutor() { return executor == null ? service.getExecutor() : executor; }
public Executor getExecutor() { return service.getExecutor(); }
public Executor getExecutor() { return service.getExecutor(); }
/** * Get the Executor for this invocation. * @param endpoint */ private Executor getExecutor(final Endpoint endpoint) { return endpoint.getService().getExecutor(); }
/** * Get the Executor for this invocation. * @param endpoint * @return */ private Executor getExecutor(final Endpoint endpoint) { return endpoint.getService().getExecutor(); }
/** * Get the Executor for this invocation. * @param endpoint */ private Executor getExecutor(final Endpoint endpoint) { return endpoint.getService().getExecutor(); }
/** * Get the Executor for this invocation. * @param endpoint * @return */ private Executor getExecutor(final Endpoint endpoint) { return endpoint.getService().getExecutor(); }
/** * Initiate redelivery asynchronsly. * */ protected void initiate() { pending = true; Endpoint ep = message.getExchange().get(Endpoint.class); Executor executor = ep.getExecutor(); if (null == executor) { executor = ep.getService().getExecutor(); LOG.log(Level.FINE, "Using service executor {0}", executor.getClass().getName()); } else { LOG.log(Level.FINE, "Using endpoint executor {0}", executor.getClass().getName()); } try { executor.execute(this); } catch (RejectedExecutionException ex) { LOG.log(Level.SEVERE, "RESEND_INITIATION_FAILED_MSG", ex); } }
/** * Initiate resend asynchronsly. * * @param requestAcknowledge true if a AckRequest header is to be sent * with resend */ protected void initiate(boolean requestAcknowledge) { includeAckRequested = requestAcknowledge; pending = true; Endpoint ep = message.getExchange().getEndpoint(); Executor executor = ep.getExecutor(); if (null == executor) { executor = ep.getService().getExecutor(); if (executor == null) { executor = SynchronousExecutor.getInstance(); } else { LOG.log(Level.FINE, "Using service executor {0}", executor.getClass().getName()); } } else { LOG.log(Level.FINE, "Using endpoint executor {0}", executor.getClass().getName()); } try { executor.execute(this); } catch (RejectedExecutionException ex) { LOG.log(Level.SEVERE, "RESEND_INITIATION_FAILED_MSG", ex); } }
/** * Get the Executor for this invocation. * @param endpoint * @return */ private static Executor getExecutor(final Message message) { Endpoint endpoint = message.getExchange().getEndpoint(); Executor executor = endpoint.getService().getExecutor(); if (executor == null || SynchronousExecutor.isA(executor)) { // need true asynchrony Bus bus = message.getExchange().getBus(); if (bus != null) { WorkQueueManager workQueueManager = bus.getExtension(WorkQueueManager.class); Executor autoWorkQueue = workQueueManager.getNamedWorkQueue("ws-addressing"); executor = autoWorkQueue != null ? autoWorkQueue : workQueueManager.getAutomaticWorkQueue(); } else { executor = OneShotAsyncExecutor.getInstance(); } } message.getExchange().put(Executor.class, executor); return executor; }
/** * Get the Executor for this invocation. * @param endpoint * @return */ private static Executor getExecutor(final Message message) { Endpoint endpoint = message.getExchange().getEndpoint(); Executor executor = endpoint.getService().getExecutor(); if (executor == null || SynchronousExecutor.isA(executor)) { // need true asynchrony Bus bus = message.getExchange().getBus(); if (bus != null) { WorkQueueManager workQueueManager = bus.getExtension(WorkQueueManager.class); Executor autoWorkQueue = workQueueManager.getNamedWorkQueue("ws-addressing"); executor = autoWorkQueue != null ? autoWorkQueue : workQueueManager.getAutomaticWorkQueue(); } else { executor = OneShotAsyncExecutor.getInstance(); } } message.getExchange().put(Executor.class, executor); return executor; }
/** * Get the Executor for this invocation. * @param endpoint * @return */ private static Executor getExecutor(final Message message) { Endpoint endpoint = message.getExchange().getEndpoint(); Executor executor = endpoint.getService().getExecutor(); if (executor == null || SynchronousExecutor.isA(executor)) { // need true asynchrony Bus bus = message.getExchange().getBus(); if (bus != null) { WorkQueueManager workQueueManager = bus.getExtension(WorkQueueManager.class); Executor autoWorkQueue = workQueueManager.getNamedWorkQueue("ws-addressing"); executor = autoWorkQueue != null ? autoWorkQueue : workQueueManager.getAutomaticWorkQueue(); } else { executor = OneShotAsyncExecutor.getInstance(); } } message.getExchange().put(Executor.class, executor); return executor; }