Re: multiple responses in jms

2007-12-13 Thread Ulhas Bhole

Hi Mayank,

You would be better off writing new transport that serve your purpose.
It will not be that hard. You can't register partial transport files 
that you modified as such but you can write whole new transport and 
attach it to CXF. all you need to do is to tell CXF via Spring 
configuration which transport factory to pickup and the transport 
factory should take care of invoking your implementation.


Regards,

Ulhas Bhole



Mayank Thakore wrote:

Thanks for the answer Ulhas! This clears up the air. Though
unfortunately this is the answer I had anticipated.

We were earlier using XFire and ended up customizing the
JMSTransport/Channel classes to suit our needs. CXF has much better
support but with our requirements maturing we have to customize here
too.

One question. In XFire we were able to register the modified transport
files. Any such luck here? I wasn't able to find anything in google or
the user/arch guide.

Thanks again!

Regards
Mayank

On Dec 12, 2007 6:33 PM, Ulhas Bhole [EMAIL PROTECTED] wrote:
  

Hi Mayank,
Answer is NO. currently JMS transport only works on 1 request, 1reply
basis.
The workaround might be to use the pub/sub mechanism and have something
like client sending a request to a topic on server side and then server
doing the same thing other way round on some other topic where the
client side will also have topic listener on which it can accept the
replies.

Other option a bit complicated and time consuming is to extend the
existing JMS transport or write your own transport to suit your purpose.

Regards,

Ulhas Bhole


Mayank Thakore wrote:


Hi,

I need to be able to send multiple responses to a single request on jms
transport. Does CXF support this style of communication or is there a
workaround to achieve this? Any sample code?

Even if this cannot be done, would some experienced member on this list
please confirm it?

I have written some wsdl based web services but am not able to figure out
how to achieve this style.

Thanks a lot!

Regards
Mayank



  


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland





IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: multiple responses in jms

2007-12-12 Thread Davide Gesino

Hi, 

you should post your answer to a different Thread than mine to make it
visible, my thread has a different subject.

Davide
-- 
View this message in context: 
http://www.nabble.com/org.apache.cxf.endpoint.Client-usage-tp14292643p14294143.html
Sent from the cxf-user mailing list archive at Nabble.com.



Re: multiple responses in jms

2007-12-12 Thread Ulhas Bhole

Hi Mayank,
Answer is NO. currently JMS transport only works on 1 request, 1reply 
basis.
The workaround might be to use the pub/sub mechanism and have something 
like client sending a request to a topic on server side and then server 
doing the same thing other way round on some other topic where the 
client side will also have topic listener on which it can accept the 
replies.


Other option a bit complicated and time consuming is to extend the 
existing JMS transport or write your own transport to suit your purpose.


Regards,

Ulhas Bhole

Mayank Thakore wrote:

Hi,

I need to be able to send multiple responses to a single request on jms
transport. Does CXF support this style of communication or is there a
workaround to achieve this? Any sample code?

Even if this cannot be done, would some experienced member on this list
please confirm it?

I have written some wsdl based web services but am not able to figure out
how to achieve this style.

Thanks a lot!

Regards
Mayank


  



IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: multiple responses in jms

2007-12-12 Thread Mayank Thakore
Thanks for the answer Ulhas! This clears up the air. Though
unfortunately this is the answer I had anticipated.

We were earlier using XFire and ended up customizing the
JMSTransport/Channel classes to suit our needs. CXF has much better
support but with our requirements maturing we have to customize here
too.

One question. In XFire we were able to register the modified transport
files. Any such luck here? I wasn't able to find anything in google or
the user/arch guide.

Thanks again!

Regards
Mayank

On Dec 12, 2007 6:33 PM, Ulhas Bhole [EMAIL PROTECTED] wrote:
 Hi Mayank,
 Answer is NO. currently JMS transport only works on 1 request, 1reply
 basis.
 The workaround might be to use the pub/sub mechanism and have something
 like client sending a request to a topic on server side and then server
 doing the same thing other way round on some other topic where the
 client side will also have topic listener on which it can accept the
 replies.

 Other option a bit complicated and time consuming is to extend the
 existing JMS transport or write your own transport to suit your purpose.

 Regards,

 Ulhas Bhole


 Mayank Thakore wrote:
  Hi,
 
  I need to be able to send multiple responses to a single request on jms
  transport. Does CXF support this style of communication or is there a
  workaround to achieve this? Any sample code?
 
  Even if this cannot be done, would some experienced member on this list
  please confirm it?
 
  I have written some wsdl based web services but am not able to figure out
  how to achieve this style.
 
  Thanks a lot!
 
  Regards
  Mayank
 
 
 

 
 IONA Technologies PLC (registered in Ireland)
 Registered Number: 171387
 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland



RE: multiple responses in jms

2007-12-12 Thread Mayank Thakore
Hi Willem,

We are doing sample implementations of MTOSI 1.1 specs. (IONA also has a
toolkit around this. I have to take out time to have a look at it)

One of the message exchange patterns requires multiple responses to single
request. (if possible please refer SD2-10 of TMF854 1.1)

Regards
Mayank
 
-Original Message-
From: Jiang, Ning (Willem) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 18:32
To: cxf-user@incubator.apache.org
Subject: RE: multiple responses in jms



Hi

I do not know how can you let your implementor return multiple response.

If you just want the responses send to different jms queue, maybe you
can do it by hacking the MessageSenderInterceptor.

Willem.

 



-Original Message-
From: Mayank Thakore [mailto:[EMAIL PROTECTED]
Sent: Wed 12/12/2007 19:06
To: cxf-user@incubator.apache.org
Subject: multiple responses in jms
 
Hi,

I need to be able to send multiple responses to a single request on jms
transport. Does CXF support this style of communication or is there a
workaround to achieve this? Any sample code?

Even if this cannot be done, would some experienced member on this list
please confirm it?

I have written some wsdl based web services but am not able to figure out
how to achieve this style.

Thanks a lot!

Regards
Mayank