You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Karthick Sankarachary <sa...@intalio.com> on 2008/11/14 01:52:10 UTC
Correlation Join Initiate Mode
Hello,
When an invoke activity has no correlation set defined in the "join" mode,
if fails while trying to iterate over the outboundJoins collection (please
see the snippet below taken from INVOKE.setupOutbound())
for (OScope.CorrelationSet c : outboundJoins) {
// will be ignored if already initialized
initializeCorrelation(_scopeFrame.resolve(c),
_scopeFrame.resolve(oinvoke.inputVar));
}
Performing the loop if and only if outboundJoins is not null appears to
resolve the problem.
Best Regards,
Karthick Sankarachary
Re: Correlation Join Initiate Mode
Posted by Sean Ahn <ah...@intalio.com>.
Ahh,,,
certainly came up to mind that you might be trying to load up from the
definition that was compiled with old version of code. Then,
de-serialization will leave the variable as null because there was no such
variable before.
My fault, I'll fix it tomorrow. Though, checking if the variable is null in
that code will not work. It is a final member variable and I'll have to use
reflection to initialize it to a value in a custom readObject().
Thanks,
Sean
On Thu, Nov 13, 2008 at 7:38 PM, Sean Ahn <ah...@intalio.com> wrote:
> Am I looking at a different place? OInvoke has all the variables defined as
> final and initializing with collections. Karthick, can you send me the stack
> trace?
>
> Thanks,
> Sean
>
>
> On Thu, Nov 13, 2008 at 7:21 PM, Matthieu Riou <ma...@offthelip.org>wrote:
>
>> On Thu, Nov 13, 2008 at 4:52 PM, Karthick Sankarachary <
>> sankarachary@intalio.com> wrote:
>>
>>> Hello,
>>>
>>> When an invoke activity has no correlation set defined in the "join"
>>> mode,
>>> if fails while trying to iterate over the outboundJoins collection
>>> (please
>>> see the snippet below taken from INVOKE.setupOutbound())
>>>
>>> for (OScope.CorrelationSet c : outboundJoins) {
>>> // will be ignored if already initialized
>>> initializeCorrelation(_scopeFrame.resolve(c),
>>> _scopeFrame.resolve(oinvoke.inputVar));
>>> }
>>>
>>> Performing the loop if and only if outboundJoins is not null appears to
>>> resolve the problem.
>>>
>>
>> It's probably related to Sean's patch to support joins. Sounds like you're
>> right about the fix, I'll let him comment.
>>
>> Cheers,
>> Matthieu
>>
>>
>>>
>>> Best Regards,
>>> Karthick Sankarachary
>>>
>>
>>
>
Re: Correlation Join Initiate Mode
Posted by Sean Ahn <ah...@intalio.com>.
Am I looking at a different place? OInvoke has all the variables defined as
final and initializing with collections. Karthick, can you send me the stack
trace?
Thanks,
Sean
On Thu, Nov 13, 2008 at 7:21 PM, Matthieu Riou <ma...@offthelip.org>wrote:
> On Thu, Nov 13, 2008 at 4:52 PM, Karthick Sankarachary <
> sankarachary@intalio.com> wrote:
>
>> Hello,
>>
>> When an invoke activity has no correlation set defined in the "join" mode,
>> if fails while trying to iterate over the outboundJoins collection (please
>> see the snippet below taken from INVOKE.setupOutbound())
>>
>> for (OScope.CorrelationSet c : outboundJoins) {
>> // will be ignored if already initialized
>> initializeCorrelation(_scopeFrame.resolve(c),
>> _scopeFrame.resolve(oinvoke.inputVar));
>> }
>>
>> Performing the loop if and only if outboundJoins is not null appears to
>> resolve the problem.
>>
>
> It's probably related to Sean's patch to support joins. Sounds like you're
> right about the fix, I'll let him comment.
>
> Cheers,
> Matthieu
>
>
>>
>> Best Regards,
>> Karthick Sankarachary
>>
>
>
Re: Correlation Join Initiate Mode
Posted by Matthieu Riou <ma...@offthelip.org>.
On Thu, Nov 13, 2008 at 4:52 PM, Karthick Sankarachary <
sankarachary@intalio.com> wrote:
> Hello,
>
> When an invoke activity has no correlation set defined in the "join" mode,
> if fails while trying to iterate over the outboundJoins collection (please
> see the snippet below taken from INVOKE.setupOutbound())
>
> for (OScope.CorrelationSet c : outboundJoins) {
> // will be ignored if already initialized
> initializeCorrelation(_scopeFrame.resolve(c),
> _scopeFrame.resolve(oinvoke.inputVar));
> }
>
> Performing the loop if and only if outboundJoins is not null appears to
> resolve the problem.
>
It's probably related to Sean's patch to support joins. Sounds like you're
right about the fix, I'll let him comment.
Cheers,
Matthieu
>
> Best Regards,
> Karthick Sankarachary
>