last fix on jms-activemq

is this code ok?