spring-projects / spring-projects/spring-integration

Add header Enrich to inbound sftp [INT-2949]

Open
#6,922 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: file in: ftp type: enhancement
Dominant language
Java
Stars
1.6k
Forks
1.2k
Avg merge
17h 48m
Merged PRs (30d)
62

Description

Y A opened INT-2949 and commented

There is not currently a way to provide a header mapper (to generate custom headers) on the (s)ftp endpoints.
it could be handy to enrich inbound sftp with something like:
<int:header name="app.PartnerId" ref="MySftpFactory" method="getPartner" />


Affects: 2.2.1

Reference URL: http://forum.springsource.org/showthread.php?135279-dynamic-inbound-sftp-and-double-messages-into-the-queue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the inbound SFTP endpoint configuration and how header mapping is handled for those endpoints. Compare the proposed <int:header name="app.PartnerId" ref="MySftpFactory" method="getPartner" /> form with the current configuration options. Done means inbound SFTP can generate the requested custom header from the referenced method.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.