Hi Shafreen,
This is not merely a bug in ESB. It is a bug in sample synapse
configuration. In the local entry definition, <description> tag is missing
in the synapse configuration. If you include this tag it will work without
any issue.
@Maduranga: try using the following configuration.
<localEntry key="local-entry-sequence-key">
<sequence name="dynamic_sequence">
<log level="custom">
<property name="message" value="*** Test Message 1 ***"/>
</log>
</sequence>
<description/>
</localEntry>
@Samisa: Issue has been fixed. Documentation has been updated and the patch
file has been attached to the jira.
Thanks,
Chanaka
On Fri, Dec 6, 2013 at 1:16 AM, Shafreen Anfar <[email protected]> wrote:
> Hi Samisa,
>
> No. It is a bug in ESB-4.8.0 and we filed the below JIRA to track this bug.
> https://wso2.org/jira/browse/ESBJAVA-2822
>
>
> On Fri, Dec 6, 2013 at 11:19 AM, Samisa Abeysinghe <[email protected]>wrote:
>
>> Is the bug in the sample?
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Training
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>>
>> On Fri, Dec 6, 2013 at 11:17 AM, Shafreen Anfar <[email protected]>wrote:
>>
>>> Hi Maduranga,
>>>
>>> I tried it with ESB-4.8.0 and I also came-across the same issue. It
>>> seems there is a bug. However, the problem occurs when you refer the
>>> localentry from the sequence element, which is not a valid use-case.
>>> Because you can simply define a sequence and refer it without using a
>>> localentry. It is there for the sake of the sample 14.
>>>
>>> Anyway, it seems there is a bug.
>>>
>>>
>>> On Tue, Dec 3, 2013 at 1:27 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>
>>>> ESB 4.8.0 will be released soon (the pack is final)
>>>>
>>>> So try with the latest version and if it does not work, then file a bug
>>>> in Jira.
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>>
>>>> Samisa Abeysinghe
>>>>
>>>> Vice President Training
>>>>
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>>
>>>>
>>>>
>>>> On Tue, Dec 3, 2013 at 1:01 PM, Maduranga Siriwardena <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi all,
>>>>> I'm a intern of WSO2. I downloaded ESB 4.8.0 from atuwa [1] (Later I
>>>>> realized that the latest released version is 4.7.0) So I followed samples
>>>>> given in 4.7.0 documentation (with ESB version 4.8.0). In the sample 14
>>>>> [2], when I add the bellow xml part in the synapse file and update from
>>>>> source view, sequence element disappears. But still the expected log entry
>>>>> is made. But if I just click update again, without making any changes, the
>>>>> expected log entry is not made. Can someone please help me understand what
>>>>> is happening here?
>>>>>
>>>>> <localEntry key="local-enrty-sequence-key">
>>>>> <sequence name="dynamic_sequence">
>>>>> <log level="custom">
>>>>> <property name="message" value="*** Test Message 1
>>>>> ***"/>
>>>>> </log>
>>>>> </sequence>
>>>>> </localEntry>
>>>>>
>>>>>
>>>>> [1] http://atuwa.private.wso2.com/products/ESB/wso2esb-4.8.0.zip
>>>>> [2]
>>>>> http://docs.wso2.org/display/ESB470/Sample+14%3A+Sequences+and+Endpoints+as+Local+Registry+Items
>>>>>
>>>>> Thank you.
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> *Shafreen*
>>> Software Engineer
>>> WSO2 Inc
>>> Mobile : 077-556-395-1
>>>
>>
>>
>
>
> --
> Regards,
> *Shafreen*
> Software Engineer
> WSO2 Inc
> Mobile : 077-556-395-1
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev