forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent double registration of MpPublisherMessageBodyReader in rest c…
…lient Fixes: quarkusio#17627 (cherry picked from commit caf5236)
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...loyment/src/main/java/io/quarkus/restclient/deployment/IgnoreClientProviderBuildItem.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.quarkus.restclient.deployment; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* Used to ignore providers that were discovered via the common lookup mechanisms | ||
* but for one reason or another should not be applied to the rest client | ||
*/ | ||
final class IgnoreClientProviderBuildItem extends MultiBuildItem { | ||
|
||
private final String providerClassName; | ||
|
||
public IgnoreClientProviderBuildItem(String providerClassName) { | ||
this.providerClassName = providerClassName; | ||
} | ||
|
||
public String getProviderClassName() { | ||
return providerClassName; | ||
} | ||
} |
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