Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] request parameter -> request header #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rrkas
Copy link
Contributor

@rrkas rrkas commented Dec 27, 2021

@@ -40,7 +40,7 @@ public Batch batchDetails(@RequestParam String batchId, @RequestParam String req
}

@GetMapping("/batch/transactions")
public HashMap<String, String> batchTransactionDetails(@RequestParam String batchId) {
public HashMap<String, String> batchTransactionDetails(@RequestHeader("batchId") String batchId) {
Copy link
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
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
Contributor

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

@fynmanoj
Copy link
Contributor

fynmanoj commented Jun 2, 2023

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