camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r738876 - /camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java
Date Thu, 29 Jan 2009 15:01:56 GMT
Author: janstey
Date: Thu Jan 29 15:01:55 2009
New Revision: 738876

URL: http://svn.apache.org/viewvc?rev=738876&view=rev
Log:
CAMEL-1259 - Switched to using Produce annotation instead of EndpointInject

Modified:
    camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java

Modified: camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java?rev=738876&r1=738875&r2=738876&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java
(original)
+++ camel/trunk/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java
Thu Jan 29 15:01:55 2009
@@ -17,12 +17,12 @@
 package org.apache.camel.example.pojo_messaging;
 
 import org.apache.camel.Consume;
-import org.apache.camel.EndpointInject;
+import org.apache.camel.Produce;
 import org.apache.camel.ProducerTemplate;
 
 //START SNIPPET: ex
 public class SendFileRecordsToQueueBean {
-    @EndpointInject(uri="activemq:personnel.records")
+    @Produce(uri="activemq:personnel.records")
     ProducerTemplate producer;
 
     @Consume(uri = "file:src/data?noop=true")



Mime
View raw message