[ 
https://issues.apache.org/jira/browse/AMQ-1942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019386#comment-13019386
 ] 

Marc Siegel commented on AMQ-1942:
----------------------------------

@Andras_Szerdahelyi Wow, I filed this bug report in 2009 with the EXACT same 
expectations and intent that you are expressing now. I just want to commend you 
and second your intent to solve this problem in some way that is perhaps 
separable or orthogonal to the JMS or STOMP designs. This is absolutely just a 
question of "allowing" the user to pass information *through* STOMP into the 
JMS headers that would otherwise simply work.

I continue to agree with you that the solution is either:
  * Best guess at typing, as you suggested, OR
  * A mechanism for explicit casting

Looking forward to seeing this issue eventually solved.
-Marc

> Numeric selectors do not work in STOMP
> --------------------------------------
>
>                 Key: AMQ-1942
>                 URL: https://issues.apache.org/jira/browse/AMQ-1942
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0
>            Reporter: Marc Siegel
>             Fix For: NEEDS_REVIEWED
>
>   Original Estimate: 20h
>  Remaining Estimate: 20h
>
> JMS SQL92 numeric selectors, such as 
>   - < > <= >=
>   - BETWEEN val AND val
> Fail to work via STOMP.
> Possible solutions:
>   1.  String Operands to numeric selector operators are converted to Numeric 
> types
>        - only in STOMP?
>   2.  Explicit casting to SQL92 Numeric types becomes supported in selectors, 
> ie
>        - ( INTEGER(field) <= 5)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to