Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何使用消息host头user在? 可能吗?passwordSessionFactory
host
user
password
SessionFactory
在我的例子中,这些数据是从数据库中检索并存储为消息头的。
请参阅动态 ftp 示例- 它为每个目的地创建一个子流并使用动态路由器。
这个答案及其后续有使用 java 配置的示例(尽管是用于邮件适配器而不是 FTP)。