Skip to content

[FIX] request parameter -> request header#7

Open
rrkas wants to merge 1 commit into
openMF:masterfrom
rrkas:ack-fixes
Open

[FIX] request parameter -> request header#7
rrkas wants to merge 1 commit into
openMF:masterfrom
rrkas:ack-fixes

Conversation

@rrkas

@rrkas rrkas commented Dec 27, 2021

Copy link
Copy Markdown
Contributor


@GetMapping("/batch/transactions")
public HashMap<String, String> batchTransactionDetails(@RequestParam String batchId) {
public HashMap<String, String> batchTransactionDetails(@RequestHeader("batchId") String batchId) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Batch id should be a request parameter and not a header.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to set request parameter in camel route of bulk processor. That's why using request header.

@avikganguly01

Copy link
Copy Markdown
Contributor

@SubhamPramanik : Please review. I want to make sure this doesn't have any regression on bulk processor.

@fynmanoj

fynmanoj commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

stale PR

@fynmanoj fynmanoj closed this Jun 2, 2023
@fynmanoj fynmanoj reopened this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants