camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6712) using .transform(ack()) from camel-hl7 does not work using the scala dsl and mina
Date Wed, 11 Sep 2013 14:59:52 GMT

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

Claus Ibsen updated CAMEL-6712:
-------------------------------

    Priority: Minor  (was: Major)
    
> using .transform(ack())  from camel-hl7 does not work using the scala dsl and mina
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-6712
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6712
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hl7, camel-mina2, camel-scala
>    Affects Versions: 2.11.0, 2.12.0
>         Environment: linux 3.10, jboss-fuse-6.1.0
>            Reporter: Max Worgan
>            Priority: Minor
>
> a Route defined in java like so:
> {code}from("mina2:tcp://localhost:8888?sync=true&codec=#hl7codec").transform(ack());
> {code}
> where hl7codec is defined in spring as 
> {code} <bean id="hl7codec" class="org.apache.camel.component.hl7.HL7MLLPCodec"/>{code}
> returns HL7 acks as expected. However using the scala dsl:
> {code}  "mina2:tcp://localhost:8888?sync=true&codec=#hl7codec" ==> { transform(ack())
} {code}
> throws an exception:
> {{org.apache.camel.CamelException: org.apache.mina.filter.codec.ProtocolEncoderException:
java.lang.IllegalArgumentException: The message to encode is not a supported type: org.apache.camel.component.hl7.AckExpression}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message