Package org.switchyard.component.camel.rss.model.v2

Examples of org.switchyard.component.camel.rss.model.v2.V2CamelRSSModelMarshaller


        assertEquals(THROTTLED, model.isThrottleEntries());
    }

    @Override
    protected V2CamelRSSBindingModel createTestModel() {
        V2CamelRSSBindingModel abm = new V2CamelRSSBindingModel(CamelRSSNamespace.V_2_0.uri())
            .setFeedURI(FEED_URI)
            .setSplitEntries(SPLIT)
            .setFilter(FILTERED)
            .setLastUpdate(referenceDate)
            .setThrottleEntries(THROTTLED)
            .setFeedHeader(FEED_HEADER)
            .setSortEntries(SORTED);

        CamelScheduledPollConsumer consumer = new V1CamelScheduledPollConsumer(CamelRSSNamespace.V_2_0.uri(), V2CamelRSSBindingModel.CONSUME)
            .setInitialDelay(20000)
            .setDelay(15000)
            .setUseFixedDelay(true);
        return abm.setConsumer(consumer);
    }
View Full Code Here

TOP

Related Classes of org.switchyard.component.camel.rss.model.v2.V2CamelRSSModelMarshaller

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.