Re: FILE BC: problem with regular expressions

3 messages Options
Embed this post
Permalink
Jim Fu

Re: FILE BC: problem with regular expressions

Reply Threaded More More options
Print post
Permalink
Hi,
can you attach your project so we can take a look? also please provide
info about which build is used?
thanks
Jim

[hidden email] wrote:

> Hello,
>
> I have some troubes with FILE BC. I am trying to read all files matching
> regular expression from a directory. However I could not find any examples
> for that on the internet. I used following definition the wsdl file for
> binding:
>
> <binding name="FileInboundBinding" type="tns:FileInboundPortType">
>         <file:binding/>
>         <operation name="poll">
>             <file:operation verb="poll"/>
>             <input name="input1">
>                 <file:message fileName=".*\.pdf$" pollingInterval="1000"
> use="literal" forwardAsAttachment="true" fileType="binary" part="part1"
> deleteFileOnRead="true" fileNameIsRegex="true" />
>             </input>
>         </operation>
>     </binding>
>
> The problem is, that the files are not processed (either they are in
> specified directory which exists, is readable and there are also filebc_tmp
> directory and filebc.lck file created by esb). I tried also regex ".*" with
> no luck. However, when I specify concrete filename without regex, it is
> processed corretly.
>
> Please could you help me?
>
> Thanks.
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Marian B

Re: FILE BC: problem with regular expressions

Reply Threaded More More options
Print post
Permalink
Hi Jim,

thank you for your willgness. I solved it by installing newest version, night build and it worked.

Marian

On Mon, Nov 2, 2009 at 6:56 PM, Jim Fu [via OpenESB Users] <[hidden email]> wrote:
Hi,
can you attach your project so we can take a look? also please provide
info about which build is used?
thanks
Jim

[hidden email] wrote:

> Hello,
>
> I have some troubes with FILE BC. I am trying to read all files matching
> regular expression from a directory. However I could not find any examples
> for that on the internet. I used following definition the wsdl file for
> binding:
>
> <binding name="FileInboundBinding" type="tns:FileInboundPortType">
>         <file:binding/>
>         <operation name="poll">
>             <file:operation verb="poll"/>
>             <input name="input1">
>                 <file:message fileName=".*\.pdf$" pollingInterval="1000"
> use="literal" forwardAsAttachment="true" fileType="binary" part="part1"
> deleteFileOnRead="true" fileNameIsRegex="true" />
>             </input>
>         </operation>
>     </binding>
>
> The problem is, that the files are not processed (either they are in
> specified directory which exists, is readable and there are also filebc_tmp
> directory and filebc.lck file created by esb). I tried also regex ".*" with
> no luck. However, when I specify concrete filename without regex, it is
> processed corretly.
>
> Please could you help me?
>
> Thanks.
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Marian Bystrican
ICQ: 287555380
[hidden email]
Jim Fu

Re: FILE BC: problem with regular expressions

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Marian,
good to know it works
regards
Jim

[hidden email] wrote:
Hi Jim,

thank you for your willgness. I solved it by installing newest version, night build and it worked.

Marian

On Mon, Nov 2, 2009 at 6:56 PM, Jim Fu [via OpenESB Users] <[hidden email]> wrote:
Hi,
can you attach your project so we can take a look? also please provide
info about which build is used?
thanks
Jim

[hidden email] wrote:

> Hello,
>
> I have some troubes with FILE BC. I am trying to read all files matching
> regular expression from a directory. However I could not find any examples
> for that on the internet. I used following definition the wsdl file for
> binding:
>
> <binding name="FileInboundBinding" type="tns:FileInboundPortType">
>         <file:binding/>
>         <operation name="poll">
>             <file:operation verb="poll"/>
>             <input name="input1">
>                 <file:message fileName=".*\.pdf$" pollingInterval="1000"
> use="literal" forwardAsAttachment="true" fileType="binary" part="part1"
> deleteFileOnRead="true" fileNameIsRegex="true" />
>             </input>
>         </operation>
>     </binding>
>
> The problem is, that the files are not processed (either they are in
> specified directory which exists, is readable and there are also filebc_tmp
> directory and filebc.lck file created by esb). I tried also regex ".*" with
> no luck. However, when I specify concrete filename without regex, it is
> processed corretly.
>
> Please could you help me?
>
> Thanks.
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Marian Bystrican
ICQ: 287555380
[hidden email]


View this message in context: Re: FILE BC: problem with regular expressions
Sent from the OpenESB Users mailing list archive at Nabble.com.