Re: Using ReplaceText to insert newline character into flowfile?

2016-07-21 Thread Jake Kugel
Thanks, creating the newline in the replacement value property with shift-enter worked! The newline character (0x0a) was inserted into the flowfile. My use case is slightly more involved, I also need to insert carriage returns (0x0d) in some cases. But I think you've given me a direction to

Re: Using ReplaceText to insert newline character into flowfile?

2016-07-21 Thread Joe Witt
Jake, In the 'Replacement Value' you can tell it what you want then you can hit "Shift-Enter" and it will insert the newline. So, lets say the input you're getting into this processor is a flowfile containing a bunch of line seperated events. If you wanted to insert a newline in between each lin

Re: Using ReplaceText to insert newline character into flowfile?

2016-07-21 Thread Jake Kugel
Thanks for the reply. I tried just now using \\n with the regex replace strategy, and it put '\n' into the flowfile instead of 'n'. Jake On 7/21/16 10:22 PM, Joe Witt wrote: Jake, Can you give \\n a try on the regex replace strategy? Let us know if that does it. Thanks Joe On Thu, Jul 21,

Re: Using ReplaceText to insert newline character into flowfile?

2016-07-21 Thread Joe Witt
Jake, Can you give \\n a try on the regex replace strategy? Let us know if that does it. Thanks Joe On Thu, Jul 21, 2016 at 11:18 PM, Jake Kugel wrote: > Hello, > > Is it possible to use ReplaceText processor to insert a newline character > (0x0a) or other special characters into a flowfile?

Using ReplaceText to insert newline character into flowfile?

2016-07-21 Thread Jake Kugel
Hello, Is it possible to use ReplaceText processor to insert a newline character (0x0a) or other special characters into a flowfile? I've tried putting \r and \n in the value of ReplaceText's Replacement Value property, but they are inserted literally into the file (the Regex Replace strateg

Mantain Connection Pool Live

2016-07-21 Thread Carlos Manuel Fernandes (DSI)
Hi all, I have a DBCPConnectionPool to Netezza with 8 Connections, but if some connections go idle too much time, Netezza will throw : "org.netezza.error.NzSQLException: FATAL 1: Connection Terminated - session timeout exceeded" when I attempt to retrieve one of them. After this that num