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-6516) camel-mina and camel-mina2 fail when configured with Spring or blueprint
Date Wed, 10 Jul 2013 09:29:49 GMT

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

Claus Ibsen updated CAMEL-6516:
-------------------------------

    Fix Version/s:     (was: 2.11.2)
                   2.11.1
    
> camel-mina and camel-mina2 fail when configured with Spring or blueprint
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-6516
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6516
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mina, camel-mina2
>    Affects Versions: 2.10.4, 2.11.0
>            Reporter: Henrique Viecili
>            Assignee: Willem Jiang
>             Fix For: 2.10.7, 2.11.1, 2.12.0
>
>
> A user following the documentation at http://camel.apache.org/mina.html#MINA-ConfiguringMinaendpointsusingSpringbeanstyle
will face an IllegalArgumentException because org.apache.camel.component.mina2.Mina2Component.createEndpoint(Mina2Configuration)
calls createEndpoint(null, config) and does not implement/override org.apache.camel.impl.DefaultEndpoint.createEndpointUri()
>  
> Stack Trace:
> java.lang.IllegalArgumentException: endpointUri is not specified and org.apache.camel.component.mina2.Mina2Endpoint
does not implement createEndpointUri() to create a default value
>         at org.apache.camel.impl.DefaultEndpoint.getEndpointUri(DefaultEndpoint.java:154)
> (...)
> Workaround: define the endpoint inline with mina:tcp://[host]...

--
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