Bug 1032659 - Milyn type converters incorrect [NEEDINFO]
Summary: Milyn type converters incorrect
Keywords:
Status: MODIFIED
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 14:37 UTC by Jochen Cordes
Modified: 2023-05-15 19:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The Milyn type converters are not correctly registered in Smooks. As a reult of this, the transformer does not work. To work around this issue, in milyn-smooks-all-1.5.1.jar's JBOSS_HOME/modules/system/layers/soa/org/milyn/main change /META-INF/services/org/apache/camel/TypeConverter and replace org.milyn.smooks.camel.converters with org.milyn.smooks.camel.converters.EDITypeConverter, org.milyn.smooks.camel.converters.ResultConverter, and org.milyn.smooks.camel.converters.SourceConverter.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:
kconner: needinfo? (jcordes)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-2307 0 Major Closed org.apache.camel.Exchange not found in Milyn module 2016-11-18 16:39:00 UTC

Description Jochen Cordes 2013-11-20 14:37:19 UTC
Description of problem:


The type converters are not correctly registered in Smooks.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Add a Smooks transformer
2. 
3.

Actual results:

Transformer doesn't work

Expected results:

Transformer does work

Additional info:

Here's how to fix the issue:

In JBOSS_HOME/modules/system/layers/soa/org/milyn/main in milyn-smooks-all-1.5.1.jar change in /META-INF/services/org/apache/camel/TypeConverter replace

org.milyn.smooks.camel.converters

with

org.milyn.smooks.camel.converters.EDITypeConverter
org.milyn.smooks.camel.converters.ResultConverter
org.milyn.smooks.camel.converters.SourceConverter


This issue releated to https://bugzilla.redhat.com/show_bug.cgi?id=920971 which was raised for SOA-P 5.3.1

See also http://jira.codehaus.org/browse/MILYN-655

Comment 2 Keith Babo 2013-11-21 16:47:22 UTC
Can we test this with the latest build before making a change?  Also, an app which reproduces the problem would be useful so that we can verify whether it still exists and if we do make a change to the smooks artifact that the issue is resolved.  The referenced BZ for 5.3.1 probably has a SOA-P (not FSW / SY) app I'm guessing.

Comment 3 Keith Babo 2013-11-21 17:10:56 UTC
One other good reason to get a reproducer is that the module.xml in our transform module might need to be updated to discover these converters.  The current module.xml can be found here:
https://github.com/jboss-switchyard/release/blob/master/jboss-as7/modules/src/main/resources/switchyard/core/transform/module.xml

Note that META-INF/services/org/apache/camel is not included in the list of imports/exports.

Comment 4 JBoss JIRA Server 2015-01-28 13:06:52 UTC
Tomohisa igarashi <tm.igarashi> updated the status of jira SWITCHYARD-2307 to Closed


Note You need to log in before you can comment on or make changes to this bug.