You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by sa...@tcs.com on 2012/03/07 09:49:43 UTC
JCA binding for reference
Hi,
I am trying to wire one of my components to an external JCAConnector.
So I have done the following
1. Added a reference to my component and defined a jca binding for it.
2. Defined the jca.outbound.connection and jca.outbound.interaction.
3. In jca.outbound.connection, I have specified the <connection> with the
type, name and properties needed(hostName and port)
4. In jca.outbound.interaction, I have defined the connectionSpec and
interactionSpec and operation.
When I invoke the operation on this reference in my component's service
impl, I get an error in the JCAConnector part which indicates that none of
the properties have been set and are null.
I am not sure if I am missing something. Can you please point me to some
sample implementation for JCA binding.
Thanks
Sangeetha
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Re: JCA binding for reference
Posted by sa...@tcs.com.
Hi,
I am using 1.6.2
Sangeetha
From:
Simon Laws <si...@googlemail.com>
To:
user@tuscany.apache.org
Date:
03/07/2012 04:27 PM
Subject:
Re: JCA binding for reference
On Wed, Mar 7, 2012 at 8:49 AM, <sa...@tcs.com> wrote:
>
> Hi,
>
> I am trying to wire one of my components to an external JCAConnector.
>
> So I have done the following
> 1. Added a reference to my component and defined a jca binding for it.
> 2. Defined the jca.outbound.connection and jca.outbound.interaction.
> 3. In jca.outbound.connection, I have specified the <connection> with
the
> type, name and properties needed(hostName and port)
> 4. In jca.outbound.interaction, I have defined the connectionSpec and
> interactionSpec and operation.
>
> When I invoke the operation on this reference in my component's service
> impl, I get an error in the JCAConnector part which indicates that none
of
> the properties have been set and are null.
>
> I am not sure if I am missing something. Can you please point me to some
> sample implementation for JCA binding.
>
> Thanks
> Sangeetha
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
Hi
What version of Tuscany are you using? AFAIK we don't have a
binding.jca implementation. There is a spec at OASIS but I haven't
seen anyone do anything to provide an implementation here.
Regards
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com
Re: JCA binding for reference
Posted by Simon Laws <si...@googlemail.com>.
On Wed, Mar 7, 2012 at 8:49 AM, <sa...@tcs.com> wrote:
>
> Hi,
>
> I am trying to wire one of my components to an external JCAConnector.
>
> So I have done the following
> 1. Added a reference to my component and defined a jca binding for it.
> 2. Defined the jca.outbound.connection and jca.outbound.interaction.
> 3. In jca.outbound.connection, I have specified the <connection> with the
> type, name and properties needed(hostName and port)
> 4. In jca.outbound.interaction, I have defined the connectionSpec and
> interactionSpec and operation.
>
> When I invoke the operation on this reference in my component's service
> impl, I get an error in the JCAConnector part which indicates that none of
> the properties have been set and are null.
>
> I am not sure if I am missing something. Can you please point me to some
> sample implementation for JCA binding.
>
> Thanks
> Sangeetha
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
Hi
What version of Tuscany are you using? AFAIK we don't have a
binding.jca implementation. There is a spec at OASIS but I haven't
seen anyone do anything to provide an implementation here.
Regards
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com