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

Add batchMap to batch scripts to share data across multiple executions of the script for a single batch #4314

Open
rbeckman-nextgen opened this issue May 11, 2020 · 1 comment
Labels

Comments

@rbeckman-nextgen
Copy link
Collaborator

Right now users are forced to use the global or global channel maps to share data across multiple invocations of a batch script. Instead there should be a map available that is shared across each script execution for a single batch. Once all messages in the batch have been processed, the batchMap is thrown away.

Imported Issue. Original Details:
Jira Issue Key: MIRTH-4439
Reporter: narupley
Created: 2019-07-15T07:30:36.000-0700

@rbeckman-nextgen rbeckman-nextgen added this to the Future Planned milestone May 11, 2020
@cturczynskyj cturczynskyj added the closed-due-to-inactivity This is being closed due to age. If this is still an issue, comment and we can reopen. label Mar 1, 2021
@pladesma pladesma closed this as completed Mar 1, 2021
@cturczynskyj cturczynskyj reopened this Mar 1, 2021
@cturczynskyj cturczynskyj removed the closed-due-to-inactivity This is being closed due to age. If this is still an issue, comment and we can reopen. label Mar 1, 2021
@atupaitso
Copy link

Hi, we are very interested in this function, because when trying to process a JSON in blocks of 100 elements, we are mixing the executions of other messages that come in at the same time.
Would it also allow to put the batch channel in multithreaded mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants