Skip to content

Conversation

@shahabganji
Copy link

Dear @phatboyg

I was reading this sample and saw the following:

Not too sure how I feel about the enum indicating what batch action to take, and then the switch statement in the ProcessJobConsumer where it conditionally creates the routing slip activity. Is there a more elegant way? I'll need to think about that.

Based on what I read here and here. I used the SmartEnum library to tackle this problem.

I am not sure whether I changed it in an elegant way or not, so please let me know your opinion.

Thanks.

@shahabganji shahabganji force-pushed the master branch 2 times, most recently from 48c6aa3 to b6649b7 Compare July 20, 2020 13:53
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.

1 participant