[jencks-user] XA enable Jencks/Spring

View: New views
8 Messages — Rating Filter:   Alert me  

[jencks-user] XA enable Jencks/Spring

by Subramaniam, Parthiban :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,
Has any has got any examples of how to XA enable Jencks/Spring and
configure https://genericjmsra.dev.java.net/ in a binding mode

Appreciate your help,

Thanks,
Parthi

_______________________________________________________________________

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Re: [jencks-user] XA enable Jencks/Spring

by James.Strachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 23 Nov 2005, at 16:50, Subramaniam, Parthiban wrote:

> Hello all,
> Has any has got any examples of how to XA enable Jencks/Spring and
> configure https://genericjmsra.dev.java.net/ in a binding mode

There are heaps of examples in the unit test area of this in action...

http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/

e.g. here's the genericjmsra example...
http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/ 
spring-with-genericjmsra.xml?rev=1.4&view=auto

James
-------
http://radio.weblogs.com/0112098/


Parent Message unknown RE: [jencks-user] XA enable Jencks/Spring

by Subramaniam, Parthiban :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,
Forgive me for being thick,
i could not find any examples with regards to Websphere MQ most of them
were for ActiveMQ

is there anything regardsing Websphere MQ?

Appreciate your help

Best regards,
Parthi


-----Original Message-----
From: James Strachan [mailto:james.strachan@...]
Sent: 23 November 2005 16:56
To: user@...
Subject: Re: [jencks-user] XA enable Jencks/Spring


On 23 Nov 2005, at 16:50, Subramaniam, Parthiban wrote:

> Hello all,
> Has any has got any examples of how to XA enable Jencks/Spring and
> configure https://genericjmsra.dev.java.net/ in a binding mode

There are heaps of examples in the unit test area of this in action...

http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/

e.g. here's the genericjmsra example...
http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/ 
spring-with-genericjmsra.xml?rev=1.4&view=auto

James
-------
http://radio.weblogs.com/0112098/
_______________________________________________________________________

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Re: [jencks-user] XA enable Jencks/Spring

by James.Strachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Use the GenericJMSRA...
> http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/
> spring-with-genericjmsra.xml?rev=1.4&view=auto

and just change the JMS ConnectionFactory to instantiate the MQSeries  
connection factory instead.

The ConnectionFactory is a fairly simple POJO; unfortunately we don't  
have unit tests right now against every JMS provider (no can you  
easily unit test MQSeries in JUnit without a full MQ install :).

James

On 23 Nov 2005, at 18:14, Subramaniam, Parthiban wrote:

> Hi James,
> Forgive me for being thick,
> i could not find any examples with regards to Websphere MQ most of  
> them
> were for ActiveMQ
>
> is there anything regardsing Websphere MQ?
>
> Appreciate your help
>
> Best regards,
> Parthi
>
>
> -----Original Message-----
> From: James Strachan [mailto:james.strachan@...]
> Sent: 23 November 2005 16:56
> To: user@...
> Subject: Re: [jencks-user] XA enable Jencks/Spring
>
>
> On 23 Nov 2005, at 16:50, Subramaniam, Parthiban wrote:
>
>> Hello all,
>> Has any has got any examples of how to XA enable Jencks/Spring and
>> configure https://genericjmsra.dev.java.net/ in a binding mode
>
> There are heaps of examples in the unit test area of this in action...
>
> http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/
>
> e.g. here's the genericjmsra example...
> http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/
> spring-with-genericjmsra.xml?rev=1.4&view=auto
>
> James
> -------
> http://radio.weblogs.com/0112098/
> ______________________________________________________________________
> _
>
> This e-mail may be privileged and/or confidential, and the sender  
> does not waive any related rights and obligations.
> Any distribution, use or copying of this e-mail or the information  
> it contains by other than an intended recipient is unauthorized.
> If you received this e-mail in error, please advise me (by return e-
> mail or otherwise) immediately.


James
-------
http://radio.weblogs.com/0112098/


Re: [jencks-user] XA enable Jencks/Spring

by Raman Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Strachan wrote:

> On 23 Nov 2005, at 18:14, Subramaniam, Parthiban wrote:
>
>> Hi James, Forgive me for being thick, i could not find any examples
>> with regards to Websphere MQ most of  them were for ActiveMQ
>>
>> is there anything regardsing Websphere MQ?
>>
> Use the GenericJMSRA...
>
> and just change the JMS ConnectionFactory to instantiate the MQSeries
> connection factory instead.

I can confirm this works.  Though, to be honest, I found the performance
of MQSeries via the genericra was pretty so-so and ended up using the MQ
base classes instead.  If you are creating a performance-sensitive app,
this may be of consideration for you.

However, if your performance results are better, then I'd be interested
in knowing about it -- something in my config may have been the problem.

Cheers,
Raman

Re: [jencks-user] XA enable Jencks/Spring

by James.Strachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 24 Nov 2005, at 06:05, Raman Gupta wrote:

> James Strachan wrote:
>> On 23 Nov 2005, at 18:14, Subramaniam, Parthiban wrote:
>>
>>> Hi James, Forgive me for being thick, i could not find any examples
>>> with regards to Websphere MQ most of  them were for ActiveMQ
>>>
>>> is there anything regardsing Websphere MQ?
>>>
>> Use the GenericJMSRA...
>>
>> and just change the JMS ConnectionFactory to instantiate the MQSeries
>> connection factory instead.
>
> I can confirm this works.  Though, to be honest, I found the  
> performance
> of MQSeries via the genericra was pretty so-so and ended up using  
> the MQ
> base classes instead.  If you are creating a performance-sensitive  
> app,
> this may be of consideration for you.

Ah - is there a Resource Adaptor for MQ from IBM? If so do you have  
the class names - then we can add it to the wiki to help other MQ users.

James
-------
http://radio.weblogs.com/0112098/


Re: [jencks-user] XA enable Jencks/Spring

by Raman Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Strachan wrote:

>
> On 24 Nov 2005, at 06:05, Raman Gupta wrote:
>
>> James Strachan wrote:
>>
>>> On 23 Nov 2005, at 18:14, Subramaniam, Parthiban wrote:
>>>
>>>> Hi James, Forgive me for being thick, i could not find any examples
>>>> with regards to Websphere MQ most of  them were for ActiveMQ
>>>>
>>>> is there anything regardsing Websphere MQ?
>>>>
>>> Use the GenericJMSRA...
>>>
>>> and just change the JMS ConnectionFactory to instantiate the MQSeries
>>> connection factory instead.
>>
>> I can confirm this works.  Though, to be honest, I found the  performance
>> of MQSeries via the genericra was pretty so-so and ended up using  the MQ
>> base classes instead.  If you are creating a performance-sensitive  app,
>> this may be of consideration for you.
>
> Ah - is there a Resource Adaptor for MQ from IBM? If so do you have  the
> class names - then we can add it to the wiki to help other MQ users.

I don't believe there is one, other than integrated with WebSphere. When
I said "base classes" I meant the base MQ java implementation that does
not use the JMS APIs (and therefore cannot be used from Jencks).  IBM's
JMS APIs, AFAIK, wrap their base APIs.

Cheers,
Raman

Re: [jencks-user] XA enable Jencks/Spring

by ccpatras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you post your spring configuration.  I am using MQSeries 5.3 patched to 13.  


Raman Gupta wrote:
James Strachan wrote:
>
> On 24 Nov 2005, at 06:05, Raman Gupta wrote:
>
>> James Strachan wrote:
>>
>>> On 23 Nov 2005, at 18:14, Subramaniam, Parthiban wrote:
>>>
>>>> Hi James, Forgive me for being thick, i could not find any examples
>>>> with regards to Websphere MQ most of  them were for ActiveMQ
>>>>
>>>> is there anything regardsing Websphere MQ?
>>>>
>>> Use the GenericJMSRA...
>>>
>>> and just change the JMS ConnectionFactory to instantiate the MQSeries
>>> connection factory instead.
>>
>> I can confirm this works.  Though, to be honest, I found the  performance
>> of MQSeries via the genericra was pretty so-so and ended up using  the MQ
>> base classes instead.  If you are creating a performance-sensitive  app,
>> this may be of consideration for you.
>
> Ah - is there a Resource Adaptor for MQ from IBM? If so do you have  the
> class names - then we can add it to the wiki to help other MQ users.

I don't believe there is one, other than integrated with WebSphere. When
I said "base classes" I meant the base MQ java implementation that does
not use the JMS APIs (and therefore cannot be used from Jencks).  IBM's
JMS APIs, AFAIK, wrap their base APIs.

Cheers,
Raman
LightInTheBox - Buy quality products at wholesale price