Is there a pattern which will allow us to send a single message to a channel
which will then persist.The source can replace the message simply by sending
another one, this means the latest message is the only important one.  The
channel can have many subscribers and any late subscribers should pick up
the latest message.

The use case is a kind of dynamic configuration where clients can pick up
the interesting config data from a message in a channel. I'm not sure if
this is a misuse of Camel though, or whether it's simple not applicable for
all Camel components. It;s worth noting that the clients only need the
message once to work. If they channel is not available they simply don't get
updates.

Reply via email to