JMS example changed