selector spec should be fromURL="someQ?selector=CamelFileNameOnly like 
'SomeFile%'"  
-------------------------------------------------------------------------------------

                 Key: CAMEL-2816
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2816
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.2.0
            Reporter: ray
            Priority: Minor


But Came only works with the following spec:  
fromURL="someQ?selector=CamelFileNameOnly like 'SomeFile%25'"

In summary the [standard JMS selector 
wilcard|http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html] 
(x like '%y%') is not supported. 

Instead the % must be encoded as %25 (hex value for %), which is ugly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to