Re: SftpEndpoint + privateKey bytes[] + poolEnrich

2019-08-30 Thread Claus Ibsen
Hi You can maybe also store the bytes in the registry and refer to them via #myBeanId in the endpoint uri. On Thu, Aug 29, 2019 at 10:43 PM Shultz, Dmitry wrote: > > Hi All, > > I have an SftpEndpoint, which is configured to use the private key bytes > (using SftpConfiguration.setPrivateKey(byt

Re: SftpEndpoint + privateKey bytes[] + poolEnrich

2019-08-30 Thread Willem Jiang
How about using .pollEnrichRef(EndpointID, xxx) API. Using the getEndpointUri() is not handy, I prefer to the endpoint instance id from the application context. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Aug 30, 2019 at 4:43 AM Shultz, Dmitry wrote: > > Hi All, > > I have an Sftp

SftpEndpoint + privateKey bytes[] + poolEnrich

2019-08-29 Thread Shultz, Dmitry
Hi All, I have an SftpEndpoint, which is configured to use the private key bytes (using SftpConfiguration.setPrivateKey(byte[]), and the poolEnrich() that is using this endpoint to fetch some file. The problem I'm facing is that poolEnrich() doesn't accept Endpoint as a parameter (accepts onl