You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Aaron Crickenberger (JIRA)" <ji...@apache.org> on 2007/11/29 20:17:27 UTC

[jira] Created: (CAMEL-251) Misc. RemoteFileProducer improvements

Misc. RemoteFileProducer improvements
-------------------------------------

                 Key: CAMEL-251
                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: Aaron Crickenberger
         Attachments: camel-ftp.reconnectingProducers.patch

RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)

FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.

Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.

More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Commented: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Aaron Crickenberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40767 ] 

Aaron Crickenberger commented on CAMEL-251:
-------------------------------------------

D'oh!  That patch completely broke FtpConsumer and SftpConsumer, and a few unit tests.  I'll have something that fixes those shortly.

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Updated: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Aaron Crickenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Crickenberger updated CAMEL-251:
--------------------------------------

    Attachment:     (was: camel-ftp.reconnectingProducers.patch)

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>         Attachments: camel-ftp.reconnectingProducers.patch
>
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Updated: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Aaron Crickenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Crickenberger updated CAMEL-251:
--------------------------------------

    Attachment: camel-ftp.miscImprovements.patch

Reconnect logic was added to FtpConsumer/SftpConsumer.  UriConfigurationTest was re-written to more thoroughly check defaults and file/path parsing.

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>         Attachments: camel-ftp.miscImprovements.patch
>
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Updated: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Aaron Crickenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Crickenberger updated CAMEL-251:
--------------------------------------

    Attachment: camel-ftp.reconnectingProducers.patch

Re-attached patch w/ ASF license granted (it'd be nice if this was an option when creating a JIRA issue)

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>         Attachments: camel-ftp.reconnectingProducers.patch
>
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Resolved: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea resolved CAMEL-251.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0

Patch applied.  Excellent work, thanks Aaron!

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>             Fix For: 1.3.0
>
>         Attachments: camel-ftp.miscImprovements.patch
>
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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


[jira] Updated: (CAMEL-251) Misc. RemoteFileProducer improvements

Posted by "Aaron Crickenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Crickenberger updated CAMEL-251:
--------------------------------------

    Attachment:     (was: camel-ftp.reconnectingProducers.patch)

> Misc. RemoteFileProducer improvements
> -------------------------------------
>
>                 Key: CAMEL-251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-251
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Aaron Crickenberger
>
> RemoteFileConfiguration.toString() displays the file instead of directory (a boolean)
> FtpProducer/SftpProducer automagically attempt to reconnect if disconnected/timed-out from their destinations.  This should probably be shared with Consumers, and could maybe done more cleanly using camel's try/catch features, but there you go.
> Smarter directory/file building/handling.  This lets you handle URI's like ftp://somehost/somedir, ftp://somehost/somedir/ similarly, avoid putting files in '/' on servers that expose the full filesystem, etc.
> More verbose logging.  Stuff like "what file went where," reconnection attempts, etc.

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