[jira] Created: (CAMEL-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

[jira] Created: (CAMEL-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

JIRA jira@apache.org
camel-example-jms-file can't work within the Camel 1.4.0 snapshot
-----------------------------------------------------------------

                 Key: CAMEL-562
                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
             Project: Apache Camel
          Issue Type: Bug
          Components: examples
    Affects Versions: 1.4.0
            Reporter: Willem Jiang
             Fix For: 1.4.0


The stack trace :

SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
        at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
        at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
        at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
        at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
        at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
        at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
        at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
        at java.lang.Thread.run(Thread.java:595)

BTW, The sample is workable with Camel-1.3.0.


--
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-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

JIRA jira@apache.org

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

Claus Ibsen commented on CAMEL-562:
-----------------------------------

Strange bug:

TsingTao-53937-1212136063115-2:1:1:1:1 is generated as message.id that uses the UUIDGenerator that should not use unfriendly files chars.


> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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] Assigned: (CAMEL-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Claus Ibsen reassigned CAMEL-562:
---------------------------------

    Assignee: Claus Ibsen

> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Claus Ibsen commented on CAMEL-562:
-----------------------------------

Some of the other samples that involves files fails to.

> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Claus Ibsen commented on CAMEL-562:
-----------------------------------

The problem seems to be the JMS component that generates the id that is not file friendly.

> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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] Work started: (CAMEL-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Work on CAMEL-562 started by Claus Ibsen.

> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Claus Ibsen resolved CAMEL-562.
-------------------------------

    Resolution: Fixed

Fixed. camel-jms in 1.4 now generates unique message id differently that was file unfriendly. Fixed by improving FileProducer to handle these situations as its the one that writes the files.

> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

--
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] Closed: (CAMEL-562) camel-example-jms-file can't work within the Camel 1.4.0 snapshot

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

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

Willem Jiang closed CAMEL-562.
------------------------------


> camel-example-jms-file can't work within the Camel 1.4.0 snapshot
> -----------------------------------------------------------------
>
>                 Key: CAMEL-562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.4.0
>            Reporter: Willem Jiang
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> The stack trace :
> SEVERE: Failed delivery for exchangeId: ID-TsingTao/53940-1212136063400/0-0. On delivery attempt: 0 caught: java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> java.io.FileNotFoundException: target\ID:TsingTao-53937-1212136063115-2:1:1:1:1 (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:76)
> at org.apache.camel.component.file.FileProducer.process(FileProducer.java:54)
> at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:67)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> at java.lang.Thread.run(Thread.java:595)
> BTW, The sample is workable with Camel-1.3.0.

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