Hi Simon,
The following is the our scenario. Please let me have any examples or
documentation regarding this?

ActiveMQ ---->  SCA container (Tuscany) ---> binding.jms --->
implementation.osgi ---> your component as an OSGi bundle?


This our Test SCA....



<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; xmlns:tuscany="
http://tuscany.apache.org/xmlns/sca/1.0"; xmlns:was="
http://www.ibm.com/xmlns/prod/websphere/sca/1.0/2007/06"; autowire="false"
name="TestHarnessComposite" targetNamespace="
http://com.xxxx.xxxx.bd.externalview";>
  <component name="TestHarnessComponent">
    <was:implementation.osgiapp
applicationSymbolicName="com.xxxx.xxxx.bd.eba"
applicationVersion="1.0.0.M1-SNAPSHOT"/>
    <service name="BDTestHarnessService" requires="exactlyOnce">
      <binding.jms name="Objectmessage">
        <destination name="jms/bdrequestthqueue" type="queue"/>
        <activationSpec create="never"
name="jms/bdtestharnessactivationspecification"/>
        <response>
          <destination name="jms/bdresponsethqueue" type="queue"/>
          <connectionFactory name="jms/bd.qcf.02"/>
        </response>
        <tuscany:wireFormat.jmsObject/>
      </binding.jms>
    </service>
  </component>
</composite>

On Tue, Oct 11, 2011 at 10:24 AM, Simon Laws <[email protected]>wrote:

> On Mon, Oct 10, 2011 at 10:06 PM, Matt Madhavan <[email protected]>
> wrote:
> > Hello,
> > Has any one point me to an OSGi/SCA/ActiveMQ binding example? has any one
> > done it? I'm looking to invoke an OSGi call upon receiving a msg from
> > activemq.
> > Thanks in advance!
> > Matt
>
> Hi Matt
>
> I'm not sure we have a specific example but the runtime is designed to
> work in an OSGi environment and with OSGi bundles. Tell me a bit more
> about the scenario as it's not clear how you intend to implement your
> component. Is it...
>
> ActiveMQ ----> OSGi container (Felix/Equinox) ----> SCA container
> (Tuscany) ---> binding.jms ---> implementation.java ---> your
> component as a Java class.
>
> OR
>
> ActiveMQ ----> OSGi container (Felix/Equinox) ----> SCA container
> (Tuscany) ---> binding.jms ---> implementation.osgi ---> your
> component as an OSGi bundle?
>
> OR
>
> ActiveMQ ---->  SCA container (Tuscany) ---> binding.jms --->
> implementation.osgi ---> your component as an OSGi bundle?
>
> OR
>
> something else?
>
> Regards
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>

Reply via email to