Skip to content

Commit

Permalink
Added missing comments to ReplyToSubscriptionHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjoy committed Sep 10, 2024
1 parent a3f4f87 commit dce333d
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

import org.osgi.service.messaging.Message;

/**
* The {@code ReplyToSubscriptionHandler} interface defines a handler for processing
* incoming response messages in a reply-to messaging pattern. Implementations of this
* interface are responsible for handling and processing the {@link Message} received
* as a response to a previously sent request.
*/
public interface ReplyToSubscriptionHandler {

/**
* Just handles the incoming request {@link Message}.
* Handles the incoming response {@link Message}.
*
* @param requestMessage the {@link Message}
* @param requestMessage the {@link Message} to be processed
*/
void handleResponse(Message requestMessage);

Expand Down

0 comments on commit dce333d

Please sign in to comment.