I put the JIRA ... 

asankha wrote:
> 
> I don't have a good suggestion .. maybe you can write a simple mediator 
> in Java instead of using a scripting language then..
> 
> asankha
> 
> j0na wrote:
>> I can't cast mc. mc is
>> org.apache.synapse.mediators.bsf.ScriptMessageContext
>> and I need a org.apache.synapse.core.axis2.Axis2MessageContext. Exist
>> another variable?
>>
>>
>> asankha wrote:
>>   
>>> j0na wrote:
>>>     
>>>> But, after a JMS Send Operation, the Queue no return a message. How I
>>>> create
>>>> a new message to return the JMS_MESSAGE_ID to the user? And, where I
>>>> put
>>>> the
>>>> instructions of getAxis2MessageContext(), in a script?? I'm lost.
>>>>   
>>>>       
>>> The same message you send via JMS would have the MESSAGE_ID after the 
>>> send..  with regard to script mediators, I am not sure how to get to the 
>>> Axis2 MC from the "mc" variable.. maybe you will have some luck with a 
>>> Groovy script?
>>>
>>> asankha
>>>     
>>>> asankha wrote:
>>>>   
>>>>       
>>>>> After a JMS Send operation, the message ID would be available as a 
>>>>> message context property "JMS_MESSAGE_ID" on the Axis2 message
>>>>> context. 
>>>>> The variable "mc" will have the Synapse message context, which you can 
>>>>> type cast into an Axis2MessageContext and then call 
>>>>> getAxis2MessageContext() to get to the axis2 message context
>>>>>
>>>>> asankha
>>>>>
>>>>> j0na wrote:
>>>>>     
>>>>>         
>>>>>> https://wso2.org/jira/browse/ESBJAVA-462
>>>>>> In this JIRA Asankha Resolved the new feature. But,  how I create a
>>>>>> message
>>>>>> with this JMS_MESSAGE_ID after I send the message to a QUEUE? How I
>>>>>> create a
>>>>>> new message to send the JMS_MESSAGE_ID to the user? Using a script?
>>>>>>   
>>>>>>       
>>>>>>           
>>>>> _______________________________________________
>>>>> Esb-java-user mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>
>>>>>
>>>>>     
>>>>>         
>>>>   
>>>>       
>>> _______________________________________________
>>> Esb-java-user mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>
>>>
>>>     
>>
>>   
> 
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-take-the-JMS_MESSAGE_ID-tp17536304p17621221.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to