You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2011/07/07 20:18:44 UTC
svn commit: r1143952 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java
Author: gnodet
Date: Thu Jul 7 18:18:44 2011
New Revision: 1143952
URL: http://svn.apache.org/viewvc?rev=1143952&view=rev
Log:
[CAMEL-4187] The ProcessorFactory interface isn't usable in scala
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java
Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java?rev=1143952&r1=1143951&r2=1143952&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ProcessorFactory.java Thu Jul 7 18:18:44 2011
@@ -46,7 +46,7 @@ public interface ProcessorFactory {
* @return the created processor, or <tt>null</tt> to let the default implementation in Camel create the processor.
* @throws Exception can be thrown if error creating the processor
*/
- Processor createChildProcessor(RouteContext routeContext, ProcessorDefinition definition, boolean mandatory) throws Exception;
+ Processor createChildProcessor(RouteContext routeContext, ProcessorDefinition<?> definition, boolean mandatory) throws Exception;
/**
* Creates the processor.
@@ -56,6 +56,6 @@ public interface ProcessorFactory {
* @return the created processor, or <tt>null</tt> to let the default implementation in Camel create the processor.
* @throws Exception can be thrown if error creating the processor
*/
- Processor createProcessor(RouteContext routeContext, ProcessorDefinition definition) throws Exception;
+ Processor createProcessor(RouteContext routeContext, ProcessorDefinition<?> definition) throws Exception;
}