Skip to content

Instantly share code, notes, and snippets.

Boris Daich BorisDaich

View GitHub Profile
View Test_oncompletion_agregate.java
package biz.daich.learning.camel;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.processor.aggregate.GroupedBodyAggregationStrategy;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
public class Test_oncompletion_agregate extends CamelTestSupport {
@BorisDaich
BorisDaich / Test_Eli_s3.java
Created Oct 3, 2018
camel sample Junit test - how to replace a pollEnrich call to a 3rd party service in an existing Route with a constant
View Test_Eli_s3.java
package biz.daich.learning.camel;
import org.apache.camel.builder.AdviceWithRouteBuilder;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
import lombok.extern.slf4j.Slf4j;
You can’t perform that action at this time.