@Override
protected void setupFromConnector(Connector connector) throws CreateException
{
if (!(connector instanceof HttpsPollingConnector))
{
throw new CreateException(HttpMessages.pollingReciverCannotbeUsed(), this);
}
HttpsPollingConnector pollingConnector = (HttpsPollingConnector) connector;
long pollingFrequency = MapUtils.getLongValue(endpoint.getProperties(), "pollingFrequency",
pollingConnector.getPollingFrequency());