if (c.getReplyTo() != null) {
requestor = new PersistentReplyToRequestor(endpoint.getConfiguration(), endpoint.getScheduledExecutorService());
requestor.start();
} else {
if (affinity == RequestorAffinity.PER_PRODUCER) {
requestor = new Requestor(endpoint.getConfiguration(), endpoint.getScheduledExecutorService());
requestor.start();
} else if (affinity == RequestorAffinity.PER_ENDPOINT) {
requestor = endpoint.getRequestor();
} else if (affinity == RequestorAffinity.PER_COMPONENT) {
requestor = ((JmsComponent)endpoint.getComponent()).getRequestor();