Replies: 1 comment 3 replies
-
Hey @RuneRoven 👋 Without seeing your code it's a bit hard to figure out what you're trying to achieve. In general, processors aren't meant to emit new messages while blocking the current message. You can use a processor to expand a message into multiple messages, just like |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a custom processor where i am using Ticker to have a timer running in the background.
When/if the timer elapse it should trigger the Process again. So far the timer works fine and it trigger when it should. It calls the a.Process() where a is the processor struct. The call for the process works fine without errors but the message does not proceed to the output stage. In the main process i save each new message to a.SaveMsg so i can resend it when the timer elaps. The saved message is correct when debugging. I have also tried to save the context to use the same but it does not work. I believe that the problem has to do with accessing the correct context when calling the process from the ticker using a.Context.. I cannot find a solution for this so i am asking if anyone have an idea on how to solve this.
Beta Was this translation helpful? Give feedback.
All reactions