You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/08/24 08:28:38 UTC
[PR] [backport camel-4.14.x] CAMEL-24350: camel-google-pubsub - stop dropping list elements and null header values [camel]
oscerd opened a new pull request, #25620:
URL: https://github.com/apache/camel/pull/25620
Backport of #25564 (merged on `main`, 4.23.0-only until now).
Two ways the pubsub producer lost or broke a send:
* **A list body mixing aggregated exchanges with plain payloads published only the exchanges** and
threw the rest away without a word. The producer documents two shapes — a list of aggregated
exchanges, or a single payload — and a mixed list is neither, so it is now refused with a message
saying how many of each it found. **Both documented shapes are unchanged:** a list of only exchanges
still publishes one message per exchange, and a list with no exchange in it is still published as one
payload.
* **A header that does not convert to a String failed the whole send with a `NullPointerException`**,
because `putAttributes` rejects null. Such headers are now skipped (a Pub/Sub attribute cannot be
null anyway) and logged at debug; headers that do convert are unaffected and the
`HeaderFilterStrategy` still decides which ones travel.
Cherry-picked with no adaptation — the commit carries its own `assertj-core` test dependency, and
Mockito was already on this module's test classpath. Module tests and the full reactor build are green
here, with a clean working tree afterwards.
_Claude Code on behalf of oscerd_
🤖 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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [backport camel-4.14.x] CAMEL-24350: camel-google-pubsub - stop dropping list elements and null header values [camel]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #25620:
URL: https://github.com/apache/camel/pull/25620#issuecomment-5392627003
4.14.x is EOL
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [backport camel-4.14.x] CAMEL-24350: camel-google-pubsub - stop dropping list elements and null header values [camel]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed pull request #25620: [backport camel-4.14.x] CAMEL-24350: camel-google-pubsub - stop dropping list elements and null header values
URL: https://github.com/apache/camel/pull/25620
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org