pollGlobalEndpoint.set(epBuilder != null);
if (pollGlobalEndpoint.get())
{
// referencing a global endpoint, fetch configuration from it
endpoint = epBuilder.buildInboundEndpoint();
//TODO MULE-5050 work around because the builder is no longer idempotent, we now cache the endpoint instance
muleContext.getRegistry().registerObject(jobConfig.getEndpointRef() + ".quartz-job", endpoint);
tt = new TransactionTemplate<Void>(endpoint.getTransactionConfig(), muleContext);
}