[jboss-jira] [JBoss JIRA] Commented: (BPEL-306) Variable Instances translation funcionality(From MessageValue to simple types like String,Integer,Long)

Alejandro Guizar (JIRA) jira-events at lists.jboss.org
Sat Jul 11 10:39:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/BPEL-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12475883#action_12475883 ] 

Alejandro Guizar commented on BPEL-306:
---------------------------------------

Message variables are maps by definition. MessageValue is just a specialized map. It cannot be translated directly to a simple type because it may contain multiple values.

Other kinds of variables, those defined with simple or complex schema types, or elements, are represented as DOM elements. Of these, only simple types could be represented as plain strings. There is a good reason why they are not: being able to treat simple or complex schema types indistinctly. Anyhow, is getting strings from simple types what you are looking for?

> Variable Instances translation funcionality(From MessageValue to simple types like String,Integer,Long)
> -------------------------------------------------------------------------------------------------------
>
>                 Key: BPEL-306
>                 URL: https://jira.jboss.org/jira/browse/BPEL-306
>             Project: JBoss jBPM BPEL
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Engine
>    Affects Versions: jBPM BPEL 1.1.1
>         Environment: Jboss 4.2.3.GA
> JBPM-BPEL 1.1.1
>            Reporter: francesco dicarlo
>            Assignee: Alejandro Guizar
>
> Would be good to have a functionality (i.e. a Translator) to automatically translate VariableInstance that in JBPM-BPEL are of type MessageValue into the simple type that were defined in the workflow.
> The use of this code \\Map varsMap=instance.getContextInstance().getVariables();\\ returns a Map with key the name of the variable but with value a type MessageValue that can't be translated automatically for all the workflow because relies on workflow implementation and design.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list