Jms selectors

using ? :  operator is discouraged.