This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 95cd2e2  Create MyPrepareProcessor.java
95cd2e2 is described below

commit 95cd2e247bcc2be198e42a37b6f8979a77023f74
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Mon Mar 14 13:46:47 2022 -0400

    Create MyPrepareProcessor.java
---
 karavan-demo/dependency-injection/MyPrepareProcessor.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/karavan-demo/dependency-injection/MyPrepareProcessor.java 
b/karavan-demo/dependency-injection/MyPrepareProcessor.java
new file mode 100644
index 0000000..580fb9e
--- /dev/null
+++ b/karavan-demo/dependency-injection/MyPrepareProcessor.java
@@ -0,0 +1,9 @@
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
+
+public class MyPrepareProcessor implements Processor {
+
+  public void process(Exchange exchange) throws Exception {
+      exchange.getIn().setBody("Hello world");
+  }
+}

Reply via email to