-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] added
last()
to MsgHdrs to retrieve the last header value if…
… multiple headers share the same name. [FIX] changed direct header implementation to read last header value instead of first. If message was republished, the last header value will be the correct one for the message
- Loading branch information
Showing
6 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -19,13 +19,7 @@ import { | |
assertRejects, | ||
assertStringIncludes, | ||
} from "https://deno.land/[email protected]/assert/mod.ts"; | ||
import { | ||
deferred, | ||
Empty, | ||
NatsConnection, | ||
nuid, | ||
StringCodec, | ||
} from "../../nats-base-client/mod.ts"; | ||
import { deferred, Empty, StringCodec } from "../../nats-base-client/mod.ts"; | ||
import { | ||
AckPolicy, | ||
Consumer, | ||
|
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
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
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
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 |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
*/ | ||
import { | ||
assert, | ||
assertAlmostEquals, | ||
assertEquals, | ||
fail, | ||
} from "https://deno.land/[email protected]/assert/mod.ts"; | ||
|