[ 
https://issues.apache.org/jira/browse/CAMEL-9921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomohisa Igarashi updated CAMEL-9921:
-------------------------------------
    Description: 
The configuration variables defined in transformation.xml is not resolved to 
the value on karaf. Attached reproducer [^CAMEL-9921.tgz] shows this behavior 
using Pax Exam, camel-2.18-SNAPSHOT and karaf-4.0.5.

h4. Steps to reproduce
# Unpack [^CAMEL-9921.tgz]
# Run 'mvn clean package'
# PaxExamTest fails with following error, which shows the variable mapping 
doesn't work in karaf while it succeeds in CamelBlueprintTest
{code}
test(org.apache.camel.component.dozer.PaxExamTest)  Time elapsed: 15.878 sec  
<<< FAILURE!
org.junit.ComparisonFailure: expected:<[ACME-SALES]> but was:<[${CUST_ID}]>
    at org.apache.camel.component.dozer.PaxExamTest.test(PaxExamTest.java:89)
{code}

  was:
The configuration variables defined in transformation.xml is not resolved to 
the value on karaf. It just works in unit test and JBoss EAP via SwitchYard. I 
also tried to run with camel-2.18-SNAPSHOT, but it requires 
(&(osgi.wiring.package=org.apache.felix.gogo.commands)(version>=0.16.0)(!(version>=1.0.0)))
 while karaf-2.4.4 bundles felix gogo 0.12.1.

h4. Steps to reproduce
# Unpack CAMEL-9921.tgz
# Run 'mvn clean package'
# PaxExamTest fails with following error, which shows the variable mapping 
doesn't work in karaf while it succeeds in CamelBlueprintTest
{code}
test(org.apache.camel.component.dozer.PaxExamTest)  Time elapsed: 15.878 sec  
<<< FAILURE!
org.junit.ComparisonFailure: expected:<[ACME-SALES]> but was:<[${CUST_ID}]>
    at org.apache.camel.component.dozer.PaxExamTest.test(PaxExamTest.java:89)
{code}


> Dozer variable mapping doesn't work on karaf
> --------------------------------------------
>
>                 Key: CAMEL-9921
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9921
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-dozer, karaf
>    Affects Versions: 2.15.6, 2.17.0, 2.18.0
>            Reporter: Tomohisa Igarashi
>            Priority: Minor
>         Attachments: CAMEL-9921.tgz
>
>
> The configuration variables defined in transformation.xml is not resolved to 
> the value on karaf. Attached reproducer [^CAMEL-9921.tgz] shows this behavior 
> using Pax Exam, camel-2.18-SNAPSHOT and karaf-4.0.5.
> h4. Steps to reproduce
> # Unpack [^CAMEL-9921.tgz]
> # Run 'mvn clean package'
> # PaxExamTest fails with following error, which shows the variable mapping 
> doesn't work in karaf while it succeeds in CamelBlueprintTest
> {code}
> test(org.apache.camel.component.dozer.PaxExamTest)  Time elapsed: 15.878 sec  
> <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[ACME-SALES]> but was:<[${CUST_ID}]>
>     at org.apache.camel.component.dozer.PaxExamTest.test(PaxExamTest.java:89)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to