-
Notifications
You must be signed in to change notification settings - Fork 1.1k
INT-3491: (S)FTP Delegating Session Factory #1523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a bad name 😄
How about SessionFactoryLocator
because it doesn't produce new instances, but return them by their key
.
So, Selector
is another candidate.
Holder
...
Your ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SessionFactoryLocator
👍
5b5202b
to
b8ccfed
Compare
Rebased, pushed. |
JIRA: https://jira.spring.io/browse/INT-3491 Select the session factory at runtime.
Also add/remove factories.
I think, I'm fine with the polishing. |
Merged as 13b4fac |
Hi Team, Thanks and Regards, |
Can you explain your use case in more detail? |
Hi Gary Russell, Thanks and Regards, |
But that is a simple configuration using property placeholders - it's the "dynamic" piece that I don't understand. |
Below is the way we are going to configure SFTPInboundAdapter using xml,
Please let me know any other way to do this using annotations. |
Any of those properties can be replaced with a property placeholder, e.g.
See the Spring Reference about property placeholders. For annotated java configuration, consider using the java dsl...
|
Thanks a lot Gary. I have done this. I have to write JUnit or Groovy test case to test my changes. Can you please guide me with some sample code to test this? |
There are lots of tests in the framework itself. In future, please don't ask questions like this on an old Pull Request, use Stack Overflow (tag |
JIRA: https://jira.spring.io/browse/INT-3491
Select the session factory at runtime.