// Path: myeslib-core/src/main/java/org/myeslib/core/Command.java
// public interface Command extends Serializable {
// 	
//     UUID getCommandId();
// 	Long getTargetVersion();
// 	
// }


import java.lang.reflect.Type;
import lombok.AllArgsConstructor;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.util.toolbox.AggregationStrategies;
import org.myeslib.core.Command;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
package org.myeslib.cmdproducer.routes;





@AllArgsConstructor
public class CommandsDataSetsRoute extends RouteBuilder {

	final Gson gson;
	final String targetEndpoint;
// Path: myeslib-core/src/main/java/org/myeslib/core/Command.java
// public interface Command extends Serializable {
// 	
//     UUID getCommandId();
// 	Long getTargetVersion();
// 	
// }


// Path: inventory-cmd-producer/src/main/java/org/myeslib/cmdproducer/routes/CommandsDataSetsRoute.java
import java.lang.reflect.Type;
import lombok.AllArgsConstructor;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.util.toolbox.AggregationStrategies;
import org.myeslib.core.Command;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

package org.myeslib.cmdproducer.routes;





@AllArgsConstructor
public class CommandsDataSetsRoute extends RouteBuilder {

	final Gson gson;
	final String targetEndpoint;
	final Type commandType = new TypeToken<Command>() {}.getType();