qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu" <rajit...@gmail.com>
Subject Re: qpid in spring
Date Fri, 22 Aug 2008 20:43:21 GMT
Hi Padmapriya,

Is it possible for you to paste the code for your example in this email
thread?
It is difficult to comment about the approach without looking at the code.

Regards,

Rajith

On Fri, Aug 22, 2008 at 1:46 PM, Padmapriya Mahalingam <
pmahalingam@infoex.com> wrote:

> I am sorry..I did a mistake in configuring the message model, I created
> a Queue(P2P)in the example instead of Topic. Now my example is working
> fine for Topic/publish-subscribe model. Which sends 100 messages to both
> consumer1 and consumer2. [Which it suppose to].
>
> My another question is
> I want my consumer(s) to listen both Queue and Topic. Because I have a
> use case in which Messages in Topic has to go to consumer1 and
> consumer2. Also Message in Queue has to go to either consumer1 or
> consumer2. Based on the received Message's JMSDestination my processing
> logic in the consumer will differ. I created an example for this use
> case. It is working as expected. Is this a right approach?
>
>
> -----Original Message-----
> From: Padmapriya Mahalingam [mailto:pmahalingam@infoex.com]
> Sent: Friday, August 22, 2008 10:06 AM
> To: qpid-users@incubator.apache.org; cctrieloff@redhat.com
> Subject: RE: qpid in spring
>
> Please find another usecase
>
> one service needs to pass a message to multiple services..meaning single
> message should be taken and processed by multiple consumers. When I try
> to use TOPIC , I have 100 messages in queue and Consumer1 picks 50 and
> Consumer2 picks 50.But I want consumer1 to process all 100 messages and
> consumber2 to process all 100 messages. Which kind of message model I
> need to use to satisfy this requirement?
>
>
> -----Original Message-----
> From: Carl Trieloff [mailto:cctrieloff@redhat.com]
> Sent: Friday, August 22, 2008 9:50 AM
> To: Padmapriya Mahalingam
> Cc: qpid-users@incubator.apache.org
> Subject: Re: qpid in spring
>
>
>
> That sounds like a perfectly good use case for Qpid. Please let us know
> how it goes and
> if you have any issues
>
> Carl.
>
>
> Padmapriya Mahalingam wrote:
> > I have multiple services running in tomcat (services created by
> > spring).Each service will communicate with another service by calling
> > its method synchronously. Now I want to change it as asynchronous
> calls
> > by introducing qpid(AMQP technology) to pass messages between
> > services.so that I can scale by adding extra queue/topics.Each service
> > should talk to each other thru message queue/topic.
> >
> > -----Original Message-----
> > From: Carl Trieloff [mailto:cctrieloff@redhat.com]
> > Sent: Wednesday, August 20, 2008 9:04 PM
> > To: qpid-users@incubator.apache.org
> > Subject: Re: qpid in spring
> >
> >
> > Padmapriya
> >
> > Please feel free to expand on it and contribute what yo do back to the
>
> > project
> >
> > Carl.
> >
> >
> > Marnie McCormack wrote:
> >
> >> Hi,
> >>
> >> I think the only thing we have is the config in attached to our FAQ.
> >>
> >> http://cwiki.apache.org/qpid/qpid-java-faq.html
> >>
> >> hth,
> >> Marnie
> >>
> >>
> >> On 8/14/08, Padmapriya Mahalingam <pmahalingam@infoex.com> wrote:
> >>
> >>
> >>> Hi
> >>>
> >>> I am trying to integrate qpid in spring?.Does anyone had code sample
> >>>
> > for
> >
> >>> this?
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>


-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message