I spoke on Spring Integration and Enterprise Integration patterns at the IndyJUG today. I thought the presentation was well received and I got some very good questions from the audience.
Here is my presentation:
And the sample project to go with the presentation: https://sites.google.com/site/bkscriptssite/home/scripts/sidemoproject.zip
Thank you for the good presentation yesterday. It was very clear and I liked the way you introduced the basics through the simple example and went about with the Barista example. I have a question, you mentioned that spring EIP has this guaranteed delivery characteristic, however when we mention pub-sub as the integration channel is it still that the delivery of the message is guaranteed, because as far as my messaging knowledge goes its only queues where we have guaranteed delivery and not for topics. So how come topics in spring assure guaranteed delivery ?
ReplyDeleteHi Nikhil, thanks for your comments.
DeleteOn the question of guaranteed delivery, you are right it is much more intuitive if we consider queues - if the consumer is not up and the message peristent, then when the producer comes up the messsage is delivered.
With a topic, if a subscribed consumer is not up and a message is delivered to the topic then only the consumers who are subscribed and available will receive that message. However there is a caveat here, there is a concept of a durable subscriber, I am not sure if this proprietary to some messaging systems, but if a subscriber is durable, then a message may be delivered to it even if it is not up at the point that a message comes in
Thank you for the good presentation yesterday. It was very clear and I liked the way you introduced the basics through the simple example and went about with the Barista example. I have a question, you mentioned that spring EIP has this guaranteed delivery characteristic, however when we mention pub-sub as the integration channel is it still that the delivery of the message is guaranteed, because as far as my messaging knowledge goes its only queues where we have guaranteed delivery and not for topics. So how come topics in spring assure guaranteed delivery ?
ReplyDelete