Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Thanks IsuruU.

On Tue, Oct 4, 2016 at 6:38 AM, Isuru Udana  wrote:

> Hi Isuru,
>
> Property name is "aggregated_response" and the value is following.
>
> * http://abc.com/>" />*
>
> So message is getting added to above element as a child.
>
> Thanks.
>
> On Mon, Oct 3, 2016 at 10:17 PM, Isuru Haththotuwa 
> wrote:
>
>> Hi,
>>
>> $subject. The relevant in and out sequences are at [1]. Here, I expect
>> the aggregated response to be in a root element element named
>> 'aggregated_response'. But the actual response has the root element as
>> 'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
>> idea why this is happening?
>>
>> [1].
>>   
>> 
>>  
>> 
>>>  expression="get-property('SYSTEM_TIME')"/>
>>
>>   
>>  
>>  
>>  
>>   
>>
>> 
>> 
>>
>>   
>>  http://demo44042
>> 22.mockable.io/test/hello"/>
>>   
>>
>> 
>>  
>>   
>>   
>>   
>>
>>
>> * 
>> http://abc.com>" />
>> *
>>   
>>  
>> 
>>  
>> * > enclosingElementProperty="aggregated_response">*
>> 
>>  
>>  
>>   
>>
>> [2].
>> {
>>   "Information": [
>> {
>>   "msg": "hello world!"
>> },
>> {
>>   "msg": "new Hello World!!"
>> }
>>   ]
>> }
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* *
>>
>>
>>
>
>
> --
> *Isuru Udana*
> Technical Lead
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Udana
Hi Isuru,

Property name is "aggregated_response" and the value is following.

* http://abc.com/>" />*

So message is getting added to above element as a child.

Thanks.

On Mon, Oct 3, 2016 at 10:17 PM, Isuru Haththotuwa  wrote:

> Hi,
>
> $subject. The relevant in and out sequences are at [1]. Here, I expect the
> aggregated response to be in a root element element named
> 'aggregated_response'. But the actual response has the root element as
> 'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
> idea why this is happening?
>
> [1].
>   
> 
>  
> 
>  expression="get-property('SYSTEM_TIME')"/>
>
>   
>  
>  
>  
>   
>
> 
> 
>
>   
>  
>   
>
> 
>  
>   
>   
>   
>
>
> * 
> http://abc.com>" />
> *
>   
>  
> 
>  
> *  enclosingElementProperty="aggregated_response">*
> 
>  
>  
>   
>
> [2].
> {
>   "Information": [
> {
>   "msg": "hello world!"
> },
> {
>   "msg": "new Hello World!!"
> }
>   ]
> }
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


-- 
*Isuru Udana*
Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Hi,

$subject. The relevant in and out sequences are at [1]. Here, I expect the
aggregated response to be in a root element element named
'aggregated_response'. But the actual response has the root element as
'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
idea why this is happening?

[1].
  

 

   
   
  
 
 
 
  
   


   
  
 http://demo4404222.mockable.io/test/hello"/>
  
   

 
  
  
  


* 
http://abc.com>" />
*
  
 

 
* *

 
 
  

[2].
{
  "Information": [
{
  "msg": "hello world!"
},
{
  "msg": "new Hello World!!"
}
  ]
}


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev