Skip to content

Commit c9879e6

Browse files
committed
Fix typo in the claim-check.adoc
1 parent 462ea6f commit c9879e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/reference/antora/modules/ROOT/pages/claim-check.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ However, there are times when we want to hide data temporarily.
77
For example, in a distributed system, we may receive a message with a very large payload.
88
Some intermittent message processing steps may not need access to this payload and some may only need to access certain headers, so carrying the large message payload through each processing step may cause performance degradation, may produce a security risk, and may make debugging more difficult.
99

10-
The https://www.enterpriseintegrationpatterns.com/StoreInLibrary.html[store in library] (or claim check) pattern describes a mechanism that lets you store data in a well known place while maintaining only a pointer (a claim check) to where that data is located.
10+
The https://www.enterpriseintegrationpatterns.com/StoreInLibrary.html[store in a library] (or claim check) pattern describes a mechanism that lets you store data in a well-known place while maintaining only a pointer (a claim check) to where that data is located.
1111
You can pass that pointer around as the payload of a new message, thereby letting any component within the message flow get the actual data as soon as it needs it.
1212
This approach is very similar to the certified mail process, where you get a claim check in your mailbox and then have to go to the post office to claim your actual package.
1313
It is also the same idea as baggage claim after a flight or in a hotel.
@@ -38,7 +38,7 @@ That ID is the claim check for that message.
3838
The claim check also becomes the payload of the new (transformed) message that is sent to the `output-channel`.
3939

4040
Now, assume that at some point you do need access to the actual message.
41-
You can access the message store manually and get the contents of the message, or you can use the same approach (creating a transformer) except that now you transform the Claim Check to the actual message by using an outgoing claim check transformer.
41+
You can access the message store manually and get the contents of the message, or you can use the same approach (to creating a transformer) except that now you transform the Claim Check to the actual message by using an outgoing claim check transformer.
4242

4343
The following listing provides an overview of all available parameters of an incoming claim check transformer:
4444

@@ -139,7 +139,7 @@ Optional.
139139
This attribute is not available inside a `Chain` element.
140140
Optional.
141141
<7> If set to `true`, the message is removed from the `MessageStore` by this transformer.
142-
This setting is useful when Message can be "`claimed`" only once.
142+
This setting is useful when a Message can be "`claimed`" only once.
143143
It defaults to `false`.
144144
Optional.
145145
<8> Specifies the maximum amount of time (in milliseconds) to wait when sending a reply message to the output channel.
@@ -154,9 +154,9 @@ Optional.
154154
== Claim Once
155155

156156
Sometimes, a particular message must be claimed only once.
157-
As an analogy, consider process of handling airplane luggage.
157+
As an analogy, consider a process of handling airplane luggage.
158158
You're checking in your luggage on departure and claiming it on arrival.
159-
Once the luggage has been claimed, it can not be claimed again without first checking it back in.
159+
Once the luggage has been claimed, it cannot be claimed again without first checking it back in.
160160
To accommodate such cases, we introduced a `remove-message` boolean attribute on the `claim-check-out` transformer.
161161
This attribute is set to `false` by default.
162162
However, if set to `true`, the claimed message is removed from the `MessageStore` so that it cannot be claimed again.

0 commit comments

Comments
 (0)