Skip to content

Commit

Permalink
[resolves #1182] Add JacksonDataFormat marshalling test coverage for …
Browse files Browse the repository at this point in the history
…Jackson annotated classes
  • Loading branch information
jamesnetherton committed Apr 11, 2016
1 parent 7eac66d commit cffa129
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion itests/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<artifactId>wildfly-camel-itests-common</artifactId>

<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
Expand Down Expand Up @@ -72,6 +76,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonRootName;

@XmlRootElement(name = "Customer")
@JsonRootName("Customer")
public class Customer implements Serializable {

private static final long serialVersionUID = 7301753065476408128L;
Expand Down

0 comments on commit cffa129

Please sign in to comment.