You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ayilliath <ay...@gmail.com> on 2014/05/05 13:31:53 UTC

longish uri on file endpoint

Hi,

(I think this should be more of a spring/xml question..  )

I have a long file producer url that looks something like this. 

<from
uri="file://{{root.folder.tms}}/{{inbound}}?delay=3000&amp;preMove={{inprogress}}&amp;move={{root.folder.tms}}/{{loadcreate_archive}}/${file:name}&amp;moveFailed={{root.folder.tms}}/{{loadcreate_error}}/${file:name}&amp;doneFileName=${file:name.noext}.trg"/>

Runs to about 270 characters and is a pain to debug. 

Any chance I could break this into multiple lines? 

Thanks
Rakesh



--
View this message in context: http://camel.465427.n5.nabble.com/longish-uri-on-file-endpoint-tp5750862.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: longish uri on file endpoint

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah this has been on my mind for some time. I logged a ticket.
https://issues.apache.org/jira/browse/CAMEL-7419

On Mon, May 5, 2014 at 1:31 PM, ayilliath <ay...@gmail.com> wrote:
> Hi,
>
> (I think this should be more of a spring/xml question..  )
>
> I have a long file producer url that looks something like this.
>
> <from
> uri="file://{{root.folder.tms}}/{{inbound}}?delay=3000&amp;preMove={{inprogress}}&amp;move={{root.folder.tms}}/{{loadcreate_archive}}/${file:name}&amp;moveFailed={{root.folder.tms}}/{{loadcreate_error}}/${file:name}&amp;doneFileName=${file:name.noext}.trg"/>
>
> Runs to about 270 characters and is a pain to debug.
>
> Any chance I could break this into multiple lines?
>
> Thanks
> Rakesh
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/longish-uri-on-file-endpoint-tp5750862.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/