[ https://issues.apache.org/activemq/browse/AMQ-694?page=comments#action_36107 ]
james strachan commented on AMQ-694: ------------------------------------ I was wondering how you thought the string was being cut short? You could try patch the selector test case to add some specific messages and selectors you are using... https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java > Probblem with "messageSelector" in 4.0 M3 > ------------------------------------------ > > Key: AMQ-694 > URL: https://issues.apache.org/activemq/browse/AMQ-694 > Project: ActiveMQ > Type: Bug > Versions: 4.0 M4 > Reporter: hailima > > > I am using 4.0 M3 and create a durable consumer with JMS API > "createDurableSubscriber(Topic topic, java.lang.String name, java.lang.String > messageSelector, boolean noLocal)". I found that ActiveMQ behaves very > strange when too long string is assigned to "messageSelector". The ActiveMQ > is Ok if I cut the string to short. > Anyone had this experience before? Any solution fo it? Here is my long string: > ehs.handler.event.type.email_sp=event_type\='email_unsub_promotion' or > event_type\='email_unsub_promotion_dne' or event_type\='email_user_sign_up' > or event_type\='email_user_sign_up_er' or > event_type\='email_registration_confirm' or > event_type\='email_client_approved_offerr' or > event_type\='email_certificate_received' or > event_type\='email_gift_card_redeemed' or event_type\='email_password_lost' > or event_type\='email_resend_sign_up' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira