JMS as a input

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

JMS as a input

by Gnanaguru S :: Rate this Message:

| View Threaded | Show Only this Message

Hi

I want to achieve this scenario - " JMS CLIENT ( MESSAGE ) --->  SYNAPSE ---> FILE ( MESSAGE ) ". For achieving this i have a jms client to send a message. But in proxy service i dont know how to specify the input queue. just that i will forward the message to a file using file endpoint.

In proxy service header i specified transport as 'jms'. how to specify input queue name ?.

Regards
Guru

Re: JMS as a input

by Charith Wickramarachchi :: Rate this Message:

| View Threaded | Show Only this Message

On Tue, Dec 27, 2011 at 7:02 PM, Gnanaguru S <
gnanaguru.sattanathan@...> wrote:

>
> Hi
>
> I want to achieve this scenario - " JMS CLIENT ( MESSAGE ) --->  SYNAPSE
> ---> FILE ( MESSAGE ) ". For achieving this i have a jms client to send a
> message. But in proxy service i dont know how to specify the input queue.
> just that i will forward the message to a file using file endpoint.
>
> In proxy service header i specified transport as 'jms'. how to specify
> input
> queue name ?.
>


Normally when you configure the JMSListener it will automatically create a
Queue with the service name where you can send messages to. But  if you
want to connect to a pre defined queue use the service level parameter
   <parameter name="transport.jms.Destination
">SimpleStockQuoteService</parameter>


regards,
Charith


>
> Regards
> Guru
> --
> View this message in context:
> http://old.nabble.com/JMS-as-a-input-tp33041330p33041330.html
> Sent from the Synapse - User mailing list archive at Nabble.com.
>
>


--
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/

Re: JMS as a input

by Gnanaguru S :: Rate this Message:

| View Threaded | Show Only this Message

Hi

Thanks for the clarification. If the jms listener can receive the queue with the name of the service, the queue name will be the PROXY SERVICE NAME !?. Am i right ?.

Regards
Guru
Charith Wickramarachchi wrote:
On Tue, Dec 27, 2011 at 7:02 PM, Gnanaguru S <
gnanaguru.sattanathan@wipro.com> wrote:

>
> Hi
>
> I want to achieve this scenario - " JMS CLIENT ( MESSAGE ) --->  SYNAPSE
> ---> FILE ( MESSAGE ) ". For achieving this i have a jms client to send a
> message. But in proxy service i dont know how to specify the input queue.
> just that i will forward the message to a file using file endpoint.
>
> In proxy service header i specified transport as 'jms'. how to specify
> input
> queue name ?.
>


Normally when you configure the JMSListener it will automatically create a
Queue with the service name where you can send messages to. But  if you
want to connect to a pre defined queue use the service level parameter
   <parameter name="transport.jms.Destination
">SimpleStockQuoteService</parameter>


regards,
Charith


>
> Regards
> Guru
> --
> View this message in context:
> http://old.nabble.com/JMS-as-a-input-tp33041330p33041330.html
> Sent from the Synapse - User mailing list archive at Nabble.com.
>
>


--
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/

Re: JMS as a input

by Charith Wickramarachchi :: Rate this Message:

| View Threaded | Show Only this Message

On Tue, Dec 27, 2011 at 8:24 PM, Gnanaguru S <
gnanaguru.sattanathan@...> wrote:

>
> Hi
>
> Thanks for the clarification. If the jms listener can receive the queue
> with
> the name of the service, the queue name will be the PROXY SERVICE NAME !?.
> Am i right ?.
>

Yes you are correct.

--Charith



>
> Regards
> Guru
>
> Charith Wickramarachchi wrote:
> >
> > On Tue, Dec 27, 2011 at 7:02 PM, Gnanaguru S <
> > gnanaguru.sattanathan@...> wrote:
> >
> >>
> >> Hi
> >>
> >> I want to achieve this scenario - " JMS CLIENT ( MESSAGE ) --->  SYNAPSE
> >> ---> FILE ( MESSAGE ) ". For achieving this i have a jms client to send
> a
> >> message. But in proxy service i dont know how to specify the input
> queue.
> >> just that i will forward the message to a file using file endpoint.
> >>
> >> In proxy service header i specified transport as 'jms'. how to specify
> >> input
> >> queue name ?.
> >>
> >
> >
> > Normally when you configure the JMSListener it will automatically create
> a
> > Queue with the service name where you can send messages to. But  if you
> > want to connect to a pre defined queue use the service level parameter
> >    <parameter name="transport.jms.Destination
> > ">SimpleStockQuoteService</parameter>
> >
> >
> > regards,
> > Charith
> >
> >
> >>
> >> Regards
> >> Guru
> >> --
> >> View this message in context:
> >> http://old.nabble.com/JMS-as-a-input-tp33041330p33041330.html
> >> Sent from the Synapse - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Charith Dhanushka Wickramarachchi
> > http://charithwiki.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/JMS-as-a-input-tp33041330p33041622.html
> Sent from the Synapse - User mailing list archive at Nabble.com.
>
>


--
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/