Skip to content
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

INT-4471: PubSubChannel: Add errorHandler warn #2459

Merged
merged 2 commits into from May 31, 2018

Conversation

artembilan
Copy link
Member

JIRA: https://jira.spring.io/browse/INT-4471

  • When an Executor is not provided, log warn that the provided
    ErrorHandler is ignored.

Cherry-pick to 5.0.x and 4.3.x

JIRA: https://jira.spring.io/browse/INT-4471

* When an `Executor` is not provided, log warn that the provided
`ErrorHandler` is ignored.

**Cherry-pick to 5.0.x and 4.3.x**
else if (this.errorHandler != null) {
logger.warn("When 'executor' is not provided the 'errorHandler' is ignored and " +
"exceptions are thrown directly within the sending Thread");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps include the componentName in the message?

@garyrussell garyrussell merged commit 17e794d into spring-projects:master May 31, 2018
garyrussell pushed a commit that referenced this pull request May 31, 2018
* INT-4471: PubSubChannel: Add errorHandler warn

JIRA: https://jira.spring.io/browse/INT-4471

* When an `Executor` is not provided, log warn that the provided
`ErrorHandler` is ignored.

**Cherry-pick to 5.0.x and 4.3.x**

* * Polish warn message
garyrussell pushed a commit that referenced this pull request May 31, 2018
* INT-4471: PubSubChannel: Add errorHandler warn

JIRA: https://jira.spring.io/browse/INT-4471

* When an `Executor` is not provided, log warn that the provided
`ErrorHandler` is ignored.

**Cherry-pick to 5.0.x and 4.3.x**

* * Polish warn message
@garyrussell
Copy link
Contributor

And cherry-picked to 5.0.x, 4.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants