-
Notifications
You must be signed in to change notification settings - Fork 44
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
Decouple AAE from spring-cloud-stream #910
Closed
LorenzoDiGiuseppe
wants to merge
83
commits into
develop
from
aae-6608-functional-stream-cloud-dev-ldigiuseppe-jsokolowski-preview
Closed
Decouple AAE from spring-cloud-stream #910
LorenzoDiGiuseppe
wants to merge
83
commits into
develop
from
aae-6608-functional-stream-cloud-dev-ldigiuseppe-jsokolowski-preview
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4586e7a
to
ca1d40b
Compare
f487156
to
a8a7bc1
Compare
8a917cd
to
b83f376
Compare
483bd2e
to
69ae50d
Compare
9be7afa
to
0b94fde
Compare
b190863
to
12e3e02
Compare
erdemedeiros
reviewed
Jan 6, 2023
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.
Great job @LorenzoDiGiuseppe and @jsokolowskii ! This task was pending for a while.
A part from some minor details, it looks good to me.
...src/test/java/org/activiti/cloud/notifications/graphql/config/EngineEventsConfiguration.java
Show resolved
Hide resolved
...ava/org/activiti/cloud/services/events/configuration/ProcessEngineChannelsConfiguration.java
Outdated
Show resolved
Hide resolved
...java/org/activiti/cloud/common/messaging/config/ConditionalFunctionBindingConfiguration.java
Outdated
Show resolved
Hide resolved
...est/java/org/activiti/cloud/common/messaging/config/test/FunctionBindingConfigurationIT.java
Outdated
Show resolved
Hide resolved
01f9fb7
to
0b4e50c
Compare
dc80d97
to
ac621e5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes Activiti/Activiti#4196 and Activiti/Activiti#3764 replacing the deprecated annotations from
spring-cloud-stream
with the new functional one provided byspring-cloud-function
.The annotation
@StreamListener
and@EnableBindings
has been replaced with custom annotations:@FunctionalBinding
@ConditionalFunctionalBinding
@ConnectorBinding
The PR introduces also some
BeanPostProcessor
for changing the binding configuration for the new annotations, while preserving the existing properties that are used byRabbitMQ
andKafka
binder.Existing interfaces declaring a
MessageChannel
have been implemented by beans that expose internal channels for backward compatibility with legacy code.IntegrationFlows
have been changed for using gateway interfaces that allows binding with the new functional approach.