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

Claus Ibsen commented on CAMEL-1309:
------------------------------------

Guillaumn can you elaborate?

StringSource extends Externalizable that implements Serializable

public class org.apache.camel.converter.jaxp.StringSource extends StreamSource 
implements Externalizable


In StreamCacheConverter there is a SourceCache that extends StringSource and 
its missing a no-args constructor.
Could that cause trouble? 

{code}
    /*
     * {...@link StreamCache} implementation for {...@link Source}s
     */
    private class SourceCache extends StringSource implements StreamCache {

        private static final long serialVersionUID = 4147248494104812945L;

        public SourceCache(String text) {
            super(text);
        }

        public void reset() {
            // do nothing here
        }

    }
{code}

> StringSource is not serializable
> --------------------------------
>
>                 Key: CAMEL-1309
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1309
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Guillaume Nodet
>


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

Reply via email to