Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.

Simple Jira Bot Example

Available as of Camel 2.7

The example is included in the distribution at examples/camel-example-simplejirabot. It contains a README.txt file with details how to use and run it.

The routes

This example has 1 route implemented in both the Java and XML DSLs as an example. Both route from a RSS endpoint to an IRC endpoint.

Java DSL

Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

XML DSL

Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

Information for configuring each endpoint can be found here:
RSS endpoint documentation
IRC endpoint documentation

Usage

To run the Java DSL example type

cd javadsl
mvn camel:run

To run the XML Configuration example type

cd xmlconf
mvn camel:run

It takes about 10 second before the bot will join the channel and Camel logs to the screen the first time. The log should be like this

2011-01-03 07:24:43,840 [archRequest.xml] INFO  jirabot                        - Exchange[Body:[CAMEL-2480] Use mock XMPP server for unit tests]

See Also

© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram