QMUX Connection

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

QMUX Connection

by z!†™-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



i have created my mux and my adaptor here:

<mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="secMux-mux">
        <in>secMux-receive</in>
        <out>secMux-send</out>
        <unhandled>secMux-unhandled</unhandled>
</mux>


<channel-adaptor name="secAd-adaptor"
class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">
        <channel class="org.jpos.iso.channel.XMLChannel" logger="Q2"
packager="org.jpos.iso.packager.XMLPackager" >
                <property name="host" value="localhost" />
                <property name="port" value="10000" />
        </channel>
        <in>secAd-send</in>
        <out>secAd-receive</out>
        <reconnect-delay>5000</reconnect-delay>
</channel-adaptor>


my cLient can aLready connect to the server but i don't know how i may
send msgs to the server
how shouLd i do that?

thanx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Please watch-out the names you use in the queues at the MUX and Channel
levels, the names must match antd the in/out queues have to be swapped.

You send messages to the server by grabbing a reference to your
QMUX (using the NameRegistrar) and then using the MUX.request method.

On Wed, Jul 09, 2008 at 07:48:48PM -0700, z!?? wrote:

>
>
> i have created my mux and my adaptor here:
>
> <mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="secMux-mux">
> <in>secMux-receive</in>
> <out>secMux-send</out>
> <unhandled>secMux-unhandled</unhandled>
> </mux>
>
>
> <channel-adaptor name="secAd-adaptor"
> class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">
> <channel class="org.jpos.iso.channel.XMLChannel" logger="Q2"
> packager="org.jpos.iso.packager.XMLPackager" >
> <property name="host" value="localhost" />
> <property name="port" value="10000" />
> </channel>
> <in>secAd-send</in>
> <out>secAd-receive</out>
> <reconnect-delay>5000</reconnect-delay>
> </channel-adaptor>
>
>
> my cLient can aLready connect to the server but i don't know how i may
> send msgs to the server
> how shouLd i do that?
>
> thanx
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by z!†™-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



which names?
and which ones must be swapped?

sorry.

On Jul 10, 10:55 am, Alejandro Revilla <a...@...> wrote:

> Please watch-out the names you use in the queues at the MUX and Channel
> levels, the names must match antd the in/out queues have to be swapped.
>
> You send messages to the server by grabbing a reference to your
> QMUX (using the NameRegistrar) and then using the MUX.request method.
>
>
>
> On Wed, Jul 09, 2008 at 07:48:48PM -0700, z!?? wrote:
>
> > i have created my mux and my adaptor here:
>
> > <mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="secMux-mux">
> >    <in>secMux-receive</in>
> >    <out>secMux-send</out>
> >    <unhandled>secMux-unhandled</unhandled>
> > </mux>
>
> > <channel-adaptor name="secAd-adaptor"
> > class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">
> >    <channel class="org.jpos.iso.channel.XMLChannel" logger="Q2"
> > packager="org.jpos.iso.packager.XMLPackager" >
> >            <property name="host" value="localhost" />
> >            <property name="port" value="10000" />
> >    </channel>
> >    <in>secAd-send</in>
> >    <out>secAd-receive</out>
> >    <reconnect-delay>5000</reconnect-delay>
> > </channel-adaptor>
>
> > my cLient can aLready connect to the server but i don't know how i may
> > send msgs to the server
> > how shouLd i do that?
>
> > thanx- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by z!†™-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


i got the names corrected but i don't get the in/out queue swap..

by the way i have

mux = (QMUX) NameRegistrar.get("mux.secMux");

and

ISOMsg resp = mux.request(req, timeout);

but the server doesn't respond.

do i need to set anything in the server??

thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Several hundred different things could happen here, we don't have enough
information to help.

On Thu, Jul 10, 2008 at 12:46:19AM -0700, z!?? wrote:

>
> i got the names corrected but i don't get the in/out queue swap..
>
> by the way i have
>
> mux = (QMUX) NameRegistrar.get("mux.secMux");
>
> and
>
> ISOMsg resp = mux.request(req, timeout);
>
> but the server doesn't respond.
>
> do i need to set anything in the server??
>
> thanks
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by z!†™-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



how do i test if my cLient reaLLy is sending something to the server?


On Jul 11, 4:49 am, Alejandro Revilla <a...@...> wrote:

> Several hundred different things could happen here, we don't have enough
> information to help.
>
>
>
> On Thu, Jul 10, 2008 at 12:46:19AM -0700, z!?? wrote:
>
> > i got the names corrected but i don't get the in/out queue swap..
>
> > by the way i have
>
> > mux = (QMUX) NameRegistrar.get("mux.secMux");
>
> > and
>
> > ISOMsg resp = mux.request(req, timeout);
>
> > but the server doesn't respond.
>
> > do i need to set anything in the server??
>
> > thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: QMUX Connection

by z!†™-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



and oh, does qmux aLso need to start in it's own thread Like the
isomux?


On Jul 14, 10:43 am, z!†™ <muymoy_...@...> wrote:

> how do i test if my cLient reaLLy is sending something to the server?
>
> On Jul 11, 4:49 am, Alejandro Revilla <a...@...> wrote:
>
>
>
> > Several hundred different things could happen here, we don't have enough
> > information to help.
>
> > On Thu, Jul 10, 2008 at 12:46:19AM -0700, z!?? wrote:
>
> > > i got the names corrected but i don't get the in/out queue swap..
>
> > > by the way i have
>
> > > mux = (QMUX) NameRegistrar.get("mux.secMux");
>
> > > and
>
> > > ISOMsg resp = mux.request(req, timeout);
>
> > > but the server doesn't respond.
>
> > > do i need to set anything in the server??
>
> > > thanks- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---