tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert <clebert.suco...@gmail.com>
Subject Re: ActiveMQ Artemis?
Date Sat, 24 Oct 2015 14:12:02 GMT
https://github.com/apache/activemq-artemis/blob/master/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAConnectionFactory.java

???


I won't be able to come to the computer this weekend ... I Will (or someone else might before
then ) look on it properly on Monday. 


There is also something under the examples as a place holder for the ra descriptors. 

-- Clebert Suconic typing on the iPhone. 

> On Oct 24, 2015, at 09:54, Jonathan S. Fisher <jonathan@springventuregroup.com>
wrote:
> 
> Also, to ask Clebert a stupid question... I'm looking at the activemq-ra
> project here:
> https://github.com/apache/activemq-artemis/tree/master/artemis-ra/src/main
> And I don't see a rar JCA descriptor file nor the JCA annotations on the
> connection classes. Am I missing something obvious?
> 
> On Sat, Oct 24, 2015 at 8:47 AM, Jonathan S. Fisher <
> jonathan@springventuregroup.com> wrote:
> 
>> Hey Romain, I'm trying to figure out what exactly the javax.resource.spi.DissociatableManagedConnection
>> interface is *supposed* to do. Any clues?
>> 
>> As an experiment, I used the ConnectorZ project as a test bed at had it
>> implement that method... TomEE still proxied the connection class, so it
>> might be a mute point anyway.
>> 
>> 
>> On Tue, Oct 6, 2015 at 12:07 PM, Romain Manni-Bucau <rmannibucau@gmail.com
>>> wrote:
>> 
>>> :), let us know if we can help, I'm a bit time constrained ATM to work on
>>> it by myself but can help on G-connector side/behavior so dont hesitate
>>> 
>>> 
>>> Romain Manni-Bucau
>>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>>> <http://rmannibucau.wordpress.com> | Github <
>>> https://github.com/rmannibucau> |
>>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
>>> <http://www.tomitribe.com>
>>> 
>>> 2015-10-06 19:05 GMT+02:00 Clebert Suconic <clebert.suconic@gmail.com>:
>>> 
>>>> sorry.. dumb copy & paste.. I meant... Thanks.. it will have to be
>>>> researched as part of this *task* when working on it.
>>>> 
>>>> On Tue, Oct 6, 2015 at 1:05 PM, Clebert Suconic
>>>> <clebert.suconic@gmail.com> wrote:
>>>>> Thanks.. it will have to be researched as part of this class.
>>>>> 
>>>>> On Tue, Oct 6, 2015 at 12:54 PM, Romain Manni-Bucau
>>>>> <rmannibucau@gmail.com> wrote:
>>>>>> if artemis implements
>>> javax.resource.spi.DissociatableManagedConnection
>>>> we
>>>>>> shouldnt proxy it then, does artemis knows how to handle this event?
>>> If
>>>> not
>>>>>> the proxies is used to handle it.
>>>>>> 
>>>>>> Side note: this is geronimo-connector which handles this code (ie
you
>>>> can
>>>>>> reproduce it without tomee in a test case if it can help on artemis
>>>> side)
>>>>>> 
>>>>>> 
>>>>>> Romain Manni-Bucau
>>>>>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>>>>>> <http://rmannibucau.wordpress.com> | Github <
>>>> https://github.com/rmannibucau> |
>>>>>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
>>>>>> <http://www.tomitribe.com>
>>>>>> 
>>>>>> 2015-10-06 18:50 GMT+02:00 Clebert Suconic <
>>> clebert.suconic@gmail.com>:
>>>>>> 
>>>>>>> The issue is not at the CreateEndpoint method.. the issue is
that
>>>>>>> Tomee RA requires an interface returned and defined somewhere
at the
>>>>>>> configuration for the ConenctionManager:
>>> http://docs.oracle.com/javaee/6/api/javax/resource/spi/ConnectionManager.html#allocateConnection(javax.resource.spi.ManagedConnectionFactory,%20javax.resource.spi.ConnectionRequestInfo)
>>>>>>> 
>>>>>>> 
>>>>>>> Artemis will return objects that the Endpoints will understand,
but
>>>>>>> due to some classLoading model on Tomee this has to be an interface
>>>>>>> due to the Dynamic proxies created.
>>>>>>> 
>>>>>>> On Tue, Oct 6, 2015 at 12:41 PM, Romain Manni-Bucau
>>>>>>> <rmannibucau@gmail.com> wrote:
>>>>>>>> @Clebert: seems a JCA requirement, TomEE used it for its
JCA
>>>> integration
>>>>>>> -
>>>>>>>> maybe not other servers. I can't find in the spec something
making
>>>> one or
>>>>>>>> the other choice wrong - which is sounds like a lack to me
but
>>> maybe
>>>> I
>>>>>>>> missed a part, browsed the spec quite quickly.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Romain Manni-Bucau
>>>>>>>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>>>>>>>> <http://rmannibucau.wordpress.com> | Github <
>>>>>>> https://github.com/rmannibucau> |
>>>>>>>> LinkedIn <https://www.linkedin.com/in/rmannibucau>
| Tomitriber
>>>>>>>> <http://www.tomitribe.com>
>>>>>>>> 
>>>>>>>> 2015-10-06 18:27 GMT+02:00 clebertsuconic <
>>> clebert.suconic@gmail.com
>>>>> :
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>>> On the definition of the RA, do you agree it
should define a
>>>>>>> different
>>>>>>>>> interface though?
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> I couldn't understand your last post well.. it seems
your
>>> response
>>>> got
>>>>>>>>> garbled with the quote..
>>>>>>>>> 
>>>>>>>>> But anwering this specific statement, I understand it
as a
>>>> requirement
>>>>>>> for
>>>>>>>>> Tomee... we can make the change.. I try to make it before
next
>>>> release:
>>>>>>>>> 
>>>>>>>>> https://issues.apache.org/jira/browse/ARTEMIS-245
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>> http://tomee-openejb.979440.n4.nabble.com/ActiveMQ-Artemis-tp4676407p4676426.html
>>>>>>>>> Sent from the TomEE Users mailing list archive at Nabble.com.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Clebert Suconic
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Clebert Suconic
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Clebert Suconic
> 
> -- 
> Email Confidentiality Notice: The information contained in this 
> transmission is confidential, proprietary or privileged and may be subject 
> to protection under the law, including the Health Insurance Portability and 
> Accountability Act (HIPAA). The message is intended for the sole use of the 
> individual or entity to whom it is addressed. If you are not the intended 
> recipient, you are notified that any use, distribution or copying of the 
> message is strictly prohibited and may subject you to criminal or civil 
> penalties. If you received this transmission in error, please contact the 
> sender immediately by replying to this email and delete the material from 
> any computer.

Mime
View raw message