[jira] Created: (CAMEL-1272) camel-stream has duplicate type converter

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1272) camel-stream has duplicate type converter

JIRA jira@apache.org
camel-stream has duplicate type converter
-----------------------------------------

                 Key: CAMEL-1272
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1272
             Project: Apache Camel
          Issue Type: Task
          Components: camel-stream
    Affects Versions: 1.5.0
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 1.5.1, 2.0.0


[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-1272) annotation type converter discover doesn't cater for Exchange is optional parameter

JIRA jira@apache.org

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

Claus Ibsen updated CAMEL-1272:
-------------------------------

    Description:
{code}
[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException
{code}

The WARN above is the same type converter where we have an optional Exchange parameter.

We should keep the Exchange version if we only keep one in the registry.

  was:
[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
[pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException

        Summary: annotation type converter discover doesn't cater for Exchange is optional parameter  (was: camel-stream has duplicate type converter)

> annotation type converter discover doesn't cater for Exchange is optional parameter
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1272
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1272
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-stream
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> {code}
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException
> {code}
> The WARN above is the same type converter where we have an optional Exchange parameter.
> We should keep the Exchange version if we only keep one in the registry.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1272) annotation type converter discover doesn't cater for Exchange is optional parameter

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Claus Ibsen resolved CAMEL-1272.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

> annotation type converter discover doesn't cater for Exchange is optional parameter
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1272
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1272
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-stream
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> {code}
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException
> {code}
> The WARN above is the same type converter where we have an optional Exchange parameter.
> We should keep the Exchange version if we only keep one in the registry.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1272) annotation type converter discover doesn't cater for Exchange is optional parameter

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48816#action_48816 ]

Claus Ibsen commented on CAMEL-1272:
------------------------------------

Trunk:  735732
1.x: 735741

Fixed by removing the duplicate. Keeping the one that accepts Exchange.

> annotation type converter discover doesn't cater for Exchange is optional parameter
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1272
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1272
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-stream
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> {code}
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String) to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.lang.String,org.apache.camel.Exchange)
> [pache.camel.spring.Main.main()] DefaultTypeConverter           WARN  Overriding type converter from: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.io.InputStream org.apache.camel.converter.IOConverter.toInputStream(java.io.BufferedReader) throws java.io.IOException
> {code}
> The WARN above is the same type converter where we have an optional Exchange parameter.
> We should keep the Exchange version if we only keep one in the registry.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.