Capgemini Engineering Interview Question

How do you handle lost messages due to runtime errors/exceptions. How do you enable web services over JMS etc..