You tried making get session public?

On Friday, July 2, 2010, Diego RR Pacheco <diego.pacheco...@gmail.com> wrote:
>
> Hi Gary,
>
> I tried but dosent works, i think JBoss dont allow us acess some objects
> like Session and Connection in this way, when i try that i received an
> Exception.
>
> I Fixed this issue re-compaling and patch ActiveMQ RA, i just add
> createBlobMessage in ManagedSessionProxy and it is working now.
>
> I will be glad if in the future releases this method be included on RA :D
>
> Cheers,
>
> Diego Pacheco
> @diego_pacheco
> http://diego-pacheco.blogspot.com
>
>
> Gary Tully wrote:
>>
>> The proxy only supports the standard JMS api, but I think it would make
>> sense to make the getSession() api public so you could get access to the
>> underlying session and call createBlobMessage(...), can you raise a jira
>> enhancement for that?
>>
>> On 2 July 2010 12:58, Diego RR Pacheco <diego.pacheco...@gmail.com> wrote:
>>
>>>
>>> Hi Guys,
>>>
>>> I'm working with Apache ActiveMQ 5.3.2 and JBoss AS 5.1.0 GA and using
>>> Resource Adapter Version 5.3.2 in my Architecture.
>>>
>>> My application uses jndi lookup to retrive ActiveMQ
>>> QueueConnectionFactory(showed above):
>>> <jee:jndi-lookup id="activemqConnectionFactory"
>>> jndi-name="java:activemq/QueueConnectionFactory" />
>>>
>>> When i create an Session i'm receiving the proxy object
>>> ManagedSessionProxy,
>>> this object dont have the method for create BlobMessages but this object
>>> have ActiveMQSession. There is possibility to create blobMessages using
>>> RA?
>>> OR maybe if possible you create the method 'createBlobMessage'
>>> ManagedSessionProxy in  in a future versions?
>>>
>>> Cheers,
>>>
>>> Diego Pacheco
>>> @diego_pacheco
>>> http://diego-pacheco.blogspot.com
>>> --
>>> View this message in context:
>>> http://old.nabble.com/BlobMessage-supports-in-RA-tp29055502p29055502.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> http://blog.garytully.com
>>
>> Open Source Integration
>> http://fusesource.com
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/BlobMessage-supports-in-RA-tp29055502p29057466.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Reply via email to