You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/09/20 21:53:23 UTC

[jira] Created: (SM-1065) ActiveMQ integration

ActiveMQ integration
--------------------

                 Key: SM-1065
                 URL: https://issues.apache.org/activemq/browse/SM-1065
             Project: ServiceMix
          Issue Type: New Feature
            Reporter: Guillaume Nodet
             Fix For: 4.0


ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Jeff Yu <je...@gmail.com>.
Ok, I will re-submit the patch very soon.



On Nov 15, 2007 6:35 PM, Freeman Fang <fr...@iona.com> wrote:

> Hi Jeff,
>
> Your patch has two activemq/pom.xml, would you please use  "svn diff ."
> command line to generate this patch?
>
> Regards
>
> Freeman
>
> Freeman Fang wrote:
> > I will take care of this issue.
> >
> > Thanks Jeff
> >
> > Freeman
> >
> > Jeff Yu wrote:
> >> Hi All
> >>
> >> Can someone help me review this little patch and apply it to 4.0
> >> branch if
> >> it is ok.
> >>
> >> Best Regards
> >> Jeff
> >>
> >> On Nov 15, 2007 6:05 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:
> >>
> >>
> >>>     [
> >>>
> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> >>>
> >>>
> >>> Jeff Yu updated SM-1065:
> >>> ------------------------
> >>>
> >>>    Attachment: SM-1065.patch
> >>>
> >>> With this little patch:
> >>> 1. It will start an embedded broker.
> >>> 2. Register the pooledConnectionFactory (provided by activemq) in
> >>> the OSGi
> >>> container.
> >>> 3. Add a system test in the itest module.
> >>>
> >>> In this bundle.
> >>> 1) import the commons-pool jar, and export it. ( for right now, it
> >>> doesn't
> >>> have the commons-pool bundle available).
> >>> 2) import the javax.transaction package, although the geronimo_jta-
> >>> 1.1_spec is a bundle, but It complains that can't find the
> >>> javax.transaction even I install that bundle.. so I use the
> >>> <Private-Package> to import this jta-spec.
> >>>
> >>>
> >>>> ActiveMQ integration
> >>>> --------------------
> >>>>
> >>>>                 Key: SM-1065
> >>>>                 URL:
> https://issues.apache.org/activemq/browse/SM-1065
> >>>>             Project: ServiceMix
> >>>>          Issue Type: New Feature
> >>>>            Reporter: Guillaume Nodet
> >>>>            Assignee: Jeff Yu
> >>>>             Fix For: 4.0
> >>>>
> >>>>         Attachments: SM-1065.patch
> >>>>
> >>>>
> >>>> ActiveMQ jars are already OSGified, but we may want to create a
> bundle
> >>>>
> >>> that would create a broker by default and registering a pooled
> >>> connection
> >>> factory in OSGi maybe.  That way, everyone could use the
> >>> ConnectionFactory
> >>> registered in OSGi.
> >>>
> >>> --
> >>> This message is automatically generated by JIRA.
> >>> -
> >>> You can reply to this email to add a comment to the issue online.
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
>



-- 
Best Regards
Jeff

Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Freeman Fang <fr...@iona.com>.
Hi Jeff,

Your patch has two activemq/pom.xml, would you please use  "svn diff ."  
command line to generate this patch?

Regards

Freeman

Freeman Fang wrote:
> I will take care of this issue.
>
> Thanks Jeff
>
> Freeman
>
> Jeff Yu wrote:
>> Hi All
>>
>> Can someone help me review this little patch and apply it to 4.0 
>> branch if
>> it is ok.
>>
>> Best Regards
>> Jeff
>>
>> On Nov 15, 2007 6:05 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:
>>
>>  
>>>     [
>>> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] 
>>>
>>>
>>> Jeff Yu updated SM-1065:
>>> ------------------------
>>>
>>>    Attachment: SM-1065.patch
>>>
>>> With this little patch:
>>> 1. It will start an embedded broker.
>>> 2. Register the pooledConnectionFactory (provided by activemq) in 
>>> the OSGi
>>> container.
>>> 3. Add a system test in the itest module.
>>>
>>> In this bundle.
>>> 1) import the commons-pool jar, and export it. ( for right now, it 
>>> doesn't
>>> have the commons-pool bundle available).
>>> 2) import the javax.transaction package, although the geronimo_jta-
>>> 1.1_spec is a bundle, but It complains that can't find the
>>> javax.transaction even I install that bundle.. so I use the
>>> <Private-Package> to import this jta-spec.
>>>
>>>    
>>>> ActiveMQ integration
>>>> --------------------
>>>>
>>>>                 Key: SM-1065
>>>>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>>>>             Project: ServiceMix
>>>>          Issue Type: New Feature
>>>>            Reporter: Guillaume Nodet
>>>>            Assignee: Jeff Yu
>>>>             Fix For: 4.0
>>>>
>>>>         Attachments: SM-1065.patch
>>>>
>>>>
>>>> ActiveMQ jars are already OSGified, but we may want to create a bundle
>>>>       
>>> that would create a broker by default and registering a pooled 
>>> connection
>>> factory in OSGi maybe.  That way, everyone could use the 
>>> ConnectionFactory
>>> registered in OSGi.
>>>
>>> -- 
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>>>     
>>
>>
>>   
>

Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Freeman Fang <fr...@gmail.com>.
I will take care of this issue.

Thanks Jeff

Freeman

Jeff Yu wrote:
> Hi All
>
> Can someone help me review this little patch and apply it to 4.0 branch if
> it is ok.
>
> Best Regards
> Jeff
>
> On Nov 15, 2007 6:05 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:
>
>   
>>     [
>> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>
>> Jeff Yu updated SM-1065:
>> ------------------------
>>
>>    Attachment: SM-1065.patch
>>
>> With this little patch:
>> 1. It will start an embedded broker.
>> 2. Register the pooledConnectionFactory (provided by activemq) in the OSGi
>> container.
>> 3. Add a system test in the itest module.
>>
>> In this bundle.
>> 1) import the commons-pool jar, and export it. ( for right now, it doesn't
>> have the commons-pool bundle available).
>> 2) import the javax.transaction package, although the geronimo_jta-
>> 1.1_spec is a bundle, but It complains that can't find the
>> javax.transaction even I install that bundle.. so I use the
>> <Private-Package> to import this jta-spec.
>>
>>     
>>> ActiveMQ integration
>>> --------------------
>>>
>>>                 Key: SM-1065
>>>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>>>             Project: ServiceMix
>>>          Issue Type: New Feature
>>>            Reporter: Guillaume Nodet
>>>            Assignee: Jeff Yu
>>>             Fix For: 4.0
>>>
>>>         Attachments: SM-1065.patch
>>>
>>>
>>> ActiveMQ jars are already OSGified, but we may want to create a bundle
>>>       
>> that would create a broker by default and registering a pooled connection
>> factory in OSGi maybe.  That way, everyone could use the ConnectionFactory
>> registered in OSGi.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>>     
>
>
>   

Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Jeff Yu <je...@gmail.com>.
Hi All

Can someone help me review this little patch and apply it to 4.0 branch if
it is ok.

Best Regards
Jeff

On Nov 15, 2007 6:05 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:

>
>     [
> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Jeff Yu updated SM-1065:
> ------------------------
>
>    Attachment: SM-1065.patch
>
> With this little patch:
> 1. It will start an embedded broker.
> 2. Register the pooledConnectionFactory (provided by activemq) in the OSGi
> container.
> 3. Add a system test in the itest module.
>
> In this bundle.
> 1) import the commons-pool jar, and export it. ( for right now, it doesn't
> have the commons-pool bundle available).
> 2) import the javax.transaction package, although the geronimo_jta-
> 1.1_spec is a bundle, but It complains that can't find the
> javax.transaction even I install that bundle.. so I use the
> <Private-Package> to import this jta-spec.
>
> > ActiveMQ integration
> > --------------------
> >
> >                 Key: SM-1065
> >                 URL: https://issues.apache.org/activemq/browse/SM-1065
> >             Project: ServiceMix
> >          Issue Type: New Feature
> >            Reporter: Guillaume Nodet
> >            Assignee: Jeff Yu
> >             Fix For: 4.0
> >
> >         Attachments: SM-1065.patch
> >
> >
> > ActiveMQ jars are already OSGified, but we may want to create a bundle
> that would create a broker by default and registering a pooled connection
> factory in OSGi maybe.  That way, everyone could use the ConnectionFactory
> registered in OSGi.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Best Regards
Jeff

Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Freeman Fang <fr...@gmail.com>.
Hi Jeff,

I will take care of it.

Cheers

Freeman

Jeff Yu wrote:
> Can someone help me review this patch and apply it.
>
> Thanks
> Jeff
>
> On Nov 21, 2007 8:24 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:
>
>   
>>     [
>> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>
>> Jeff Yu updated SM-1065:
>> ------------------------
>>
>>    Attachment: SM-1065-2.patch
>>
>> with this patch:
>> 1. Using jencks jcaPooledConnectionFactory with transaction aware.
>> 2. Externalized the broker configuration.
>> 3. Add the activemq module in the distribution, add a configuration file
>> in conf folder.
>> 4. Remove some duplicated package in the apache-servicemix module pom
>> file.
>>
>> Still one thing left:
>> establish connection between the transaction manager and the message
>> broker.
>>
>>     
>>> ActiveMQ integration
>>> --------------------
>>>
>>>                 Key: SM-1065
>>>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>>>             Project: ServiceMix
>>>          Issue Type: New Feature
>>>            Reporter: Guillaume Nodet
>>>            Assignee: Jeff Yu
>>>             Fix For: 4.0
>>>
>>>         Attachments: SM-1065-2.patch, SM-1065.patch
>>>
>>>
>>> ActiveMQ jars are already OSGified, but we may want to create a bundle
>>>       
>> that would create a broker by default and registering a pooled connection
>> factory in OSGi maybe.  That way, everyone could use the ConnectionFactory
>> registered in OSGi.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>>     
>
>
>   

Re: [jira] Updated: (SM-1065) ActiveMQ integration

Posted by Jeff Yu <je...@gmail.com>.
Can someone help me review this patch and apply it.

Thanks
Jeff

On Nov 21, 2007 8:24 PM, Jeff Yu (JIRA) <ji...@apache.org> wrote:

>
>     [
> https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Jeff Yu updated SM-1065:
> ------------------------
>
>    Attachment: SM-1065-2.patch
>
> with this patch:
> 1. Using jencks jcaPooledConnectionFactory with transaction aware.
> 2. Externalized the broker configuration.
> 3. Add the activemq module in the distribution, add a configuration file
> in conf folder.
> 4. Remove some duplicated package in the apache-servicemix module pom
> file.
>
> Still one thing left:
> establish connection between the transaction manager and the message
> broker.
>
> > ActiveMQ integration
> > --------------------
> >
> >                 Key: SM-1065
> >                 URL: https://issues.apache.org/activemq/browse/SM-1065
> >             Project: ServiceMix
> >          Issue Type: New Feature
> >            Reporter: Guillaume Nodet
> >            Assignee: Jeff Yu
> >             Fix For: 4.0
> >
> >         Attachments: SM-1065-2.patch, SM-1065.patch
> >
> >
> > ActiveMQ jars are already OSGified, but we may want to create a bundle
> that would create a broker by default and registering a pooled connection
> factory in OSGi maybe.  That way, everyone could use the ConnectionFactory
> registered in OSGi.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Best Regards
Jeff

[jira] Commented: (SM-1065) ActiveMQ integration

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40627 ] 

Freeman Fang commented on SM-1065:
----------------------------------

all tests passed, apply it on behalf of Jeff Yu.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1065 started by Jeff Yu.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40639 ] 

Jeff Yu commented on SM-1065:
-----------------------------

Thanks for Guillaume's comments, these makes perfect sense... I would add these in my next patch..

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1065) ActiveMQ integration

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned SM-1065:
------------------------------

    Assignee: Rob Davies

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Rob Davies
>             Fix For: 4.0
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1065) ActiveMQ integration

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40637 ] 

Guillaume Nodet commented on SM-1065:
-------------------------------------

Also, it would be nice to include the activemq bundle in the final distribution along with the property file so that users can customize those easily.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment: SM-1065.patch

updated version.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment:     (was: SM-1065.patch)

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1065) ActiveMQ integration

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned SM-1065:
-----------------------------------

    Assignee: Jeff Yu  (was: Rob Davies)

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1065) ActiveMQ integration

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40630 ] 

Guillaume Nodet commented on SM-1065:
-------------------------------------

Great, thx a lot Jeff !
I'm wondering if we could enhance it a bit more to provide a ConnectionFactory with auto-enlistement and that would work with the transaction manager (only if it is available).
We also need to make sure the transaction manager is aware of the JMS broker so that the recovery process can take place correctly.

For the auto-enlistment connection factory, I suggest we use the jencks one, which works nicely with the geronimo transaction manager / jca connector.
See http://jencks.codehaus.org/AMQPool


> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment: SM-1065.patch

updated this by using "svn diff" command.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment: SM-1065.patch

With this little patch:
1. It will start an embedded broker.
2. Register the pooledConnectionFactory (provided by activemq) in the OSGi container.
3. Add a system test in the itest module.

In this bundle.
1) import the commons-pool jar, and export it. ( for right now, it doesn't have the commons-pool bundle available).
2) import the javax.transaction package, although the geronimo_jta-1.1_spec is a bundle, but It complains that can't find the javax.transaction even I install that bundle.. so I use the <Private-Package> to import this jta-spec.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment: SM-1065-2.patch

with this patch:
1. Using jencks jcaPooledConnectionFactory with transaction aware.
2. Externalized the broker configuration.
3. Add the activemq module in the distribution, add a configuration file in conf folder.
4. Remove some duplicated package in the apache-servicemix module pom file.

Still one thing left: 
establish connection between the transaction manager and the message broker.

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065-2.patch, SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1065) ActiveMQ integration

Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Yu updated SM-1065:
------------------------

    Attachment:     (was: SM-1065.patch)

> ActiveMQ integration
> --------------------
>
>                 Key: SM-1065
>                 URL: https://issues.apache.org/activemq/browse/SM-1065
>             Project: ServiceMix
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jeff Yu
>             Fix For: 4.0
>
>         Attachments: SM-1065.patch
>
>
> ActiveMQ jars are already OSGified, but we may want to create a bundle that would create a broker by default and registering a pooled connection factory in OSGi maybe.  That way, everyone could use the ConnectionFactory registered in OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.