davsclaus opened a new pull request, #30371: URL: https://github.com/apache/camel/pull/30371
[CAMEL-27227](https://issues.apache.org/jira/browse/CAMEL-27227) A producer with `lazySessionCreation=true` used to take the system id and the password from the `CamelSmppSystemId` and `CamelSmppPassword` headers of the first message. It now connects with the `systemId` and `password` of the endpoint and ignores these headers, unless the new `allowSystemIdAndPasswordFromHeaders` option (default `false`) is enabled. With the option, the behaviour is as before. ## What changed - `SmppConfiguration`: new `allowSystemIdAndPasswordFromHeaders` option. The `lazySessionCreation` description no longer says the headers are used. - `SmppProducer`: reads the headers only when the option is enabled. - `SmppConstants`: the header descriptions say when the headers are used, and `CamelSmppPassword` is marked secret. - Docs: a new "Lazy session creation" section. The component JSON, catalog, endpoint DSL and component DSL are regenerated. ## Upgrade note 4.24 entry: routes that rely on these headers must set the option. ## Tests - `SmppProducerLazySessionCreationTest` shows that the headers are ignored by default (it binds with the endpoint login) and used with the option. - The new test fails without the change. - The camel-smpp unit tests pass (178). _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
