[
https://issues.apache.org/jira/browse/OFBIZ-11147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914837#comment-16914837
]
Aditya Sharma commented on OFBIZ-11147:
---------------------------------------
Thanks Girish for looking into it. My bad. I tested for 16.11 and 17.12. It
works for the trunk.
I have updated the affected version. Thanks Pierre for pointing that out.
I noticed a warning:
{code:java}
ofbiz-camel/src/main/java/org/apache/ofbiz/camel/services/CamelServices.java:47:
warning: [unchecked] unchecked cast
Map<String, Object> headers = (Map<String, Object>) context.get("headers");
^
required: Map<String,Object>
found: Object
1 warning
{code}
I think we can suppress it with
[SuppressWarnings|https://docs.oracle.com/javase/6/docs/api/java/lang/SuppressWarnings.html]
annotation.
{code:java}
@SuppressWarnings("unchecked")
Map<String, Object> headers = (Map<String, Object>) context.get("headers");
{code}
> OFBiz-Camel integration
> -----------------------
>
> Key: OFBIZ-11147
> URL: https://issues.apache.org/jira/browse/OFBIZ-11147
> Project: OFBiz
> Issue Type: New Feature
> Affects Versions: Trunk
> Reporter: Girish Vasmatkar
> Assignee: Girish Vasmatkar
> Priority: Minor
> Attachments: ofbiz-camel.tar.gz
>
>
> This OFBiz plug in will provide capability for OFBiz to integrate with Apache
> Camel. The plug in should provide capability for OFBiz to interface with
> various external systems via Apache Camel.
> Similarly, the integration will allow inbound communication from external
> system into OFBiz via Apache Camel.
> Here's the list to the ML discussion thread -
> [https://lists.apache.org/thread.html/36ee6e3d2425ecc5eed7cf44e41e27125f7263080870bacd72ae556e@%3Cuser.ofbiz.apache.org%3E]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)