Petals SE Camel

Provide some common helpers for developing and testing Camel SUs

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When writing a route that will manipulate JBI messages, there are some useful helpers that could be available.

    In particular for marshalling or to set faults easily.

    They should reside in the org.ow2.petals.camel.helpers package of camel-petals maven dependency, users will be able to use it by adding the following dependency to their SUs:

    <dependency>
      <groupId>org.ow2.petals</groupId>
      <artifactId>camel-petals</artifactId>
      <version>USED-PETALS-SE-CAMEL-VERSION</version>
      <scope>provided</scope>
    </dependency>

    And for testing in org.ow2.petals.camel.junit:

    <dependency>
      <groupId>org.ow2.petals</groupId>
      <artifactId>petals-se-camel-junit</artifactId>
      <version>USED-PETALS-SE-CAMEL-VERSION</version>
      <scope>test</scope>
    </dependency>
    Show
    When writing a route that will manipulate JBI messages, there are some useful helpers that could be available. In particular for marshalling or to set faults easily. They should reside in the org.ow2.petals.camel.helpers package of camel-petals maven dependency, users will be able to use it by adding the following dependency to their SUs:
    <dependency>
      <groupId>org.ow2.petals</groupId>
      <artifactId>camel-petals</artifactId>
      <version>USED-PETALS-SE-CAMEL-VERSION</version>
      <scope>provided</scope>
    </dependency>
    And for testing in org.ow2.petals.camel.junit:
    <dependency>
      <groupId>org.ow2.petals</groupId>
      <artifactId>petals-se-camel-junit</artifactId>
      <version>USED-PETALS-SE-CAMEL-VERSION</version>
      <scope>test</scope>
    </dependency>
  • Environment:
    -

Activity

Hide
Victor NOËL added a comment - Thu, 21 Sep 2017 - 13:34:03 +0200

Samples were updated to take advantage of the helpers and with tests.

Show
Victor NOËL added a comment - Thu, 21 Sep 2017 - 13:34:03 +0200 Samples were updated to take advantage of the helpers and with tests.

People

Dates

  • Created:
    Fri, 15 Sep 2017 - 13:57:19 +0200
    Updated:
    Thu, 21 Sep 2017 - 13:34:03 +0200
    Resolved:
    Mon, 18 Sep 2017 - 13:54:35 +0200