-
1. Curious: Why Spy?
adrian.brock Jan 6, 2004 7:45 AM (in response to xs2iop)
Just a passing question - why is 'Spy' all over the class names in the JBoss messaging?
History? meaning? joke?
... or have I just *really* missed something!! ;-) -
2. Re: http messaging
mkprim Jan 6, 2004 9:50 AM (in response to xs2iop)Why don't you first try connecting through a normall connection like UIL2?
If your MDB onMessage does work, then you know it's a HTTP problem.
Have you configured de MDB descriptor to process the messages from the Queue/Topìc? -
3. Re: http messaging
xs2iop Jan 6, 2004 10:45 AM (in response to xs2iop)thanks mkprim for your interest of my problems and happy new year...
in fact, I don't know which of one protocol is use by default jms transport and how choose one of them, RMI is default, isn't it?
you ask why i don't use an uil2 layer, only because i write my code , that is to say a client and an mdb in point to point mode.and it work fine (the client give a object message to mdb, some parameters in java class, like date, int ...and mdb get an certificate revocation list , update received object message and forward to client this message which contains the crl ), it's only after after discussion, we have seen that the mdb is on a server and the client on other server, behind a firewall,so i must use an http protocol??? but I don't understand how to configure layer on jboss, for exemple if all are active and it's just on code, i must indicate the connexion factory (in fact HTTPConnexion is ok, it seems to work...) but if you have somme information to configure properly layer ...it will be very nice , thanks. -
4. Re: http messaging
adrian.brock Jan 6, 2004 3:46 PM (in response to xs2iop)Lets take it in smaller steps.
The default "ConnectionFactory" is OIL (two tcp/ip sockets).
Can you send a message to a queue from the client using OIL.
Look at http://localhost:8080/jmx-console then at
jboss.mq.destination for the queue.
You can then see the queue size (make sure the MDB is not deployed).
If it works with OIL, can you do the same with HTTPConnectionFactory.
Regards,
Adrian -
5. Re: http messaging
xs2iop Jan 7, 2004 2:29 AM (in response to xs2iop)Hi Adrian,
you mean that if the code run ok in default conf (so in OIL) It will fine with any change in http.
indeed the client send successfully message which are consume by mdb in default conf...so i have just few question adrian.my code look like jboss doc point to point mdb exemple, you know (a client send on queue B a message and wait the response on queue A).
1-i have just change argument on lookup
Object tmp = iniCtx.lookup("ConnectionFactory");
in
Object tmp = iniCtx.lookup"HTTPConnectionFactory");
(i):it's the only change to run in http mode??
(ii):I believe it work fine but it appears slowly , isn't it?
2-how to choose the layer, it's only on code because jboss started all layer.How choose this one and configure the layer.It's in code or conf file?
for exemple, how choose rmi layer?
best regards
Sébastien -
6. Re: http messaging
mkprim Jan 7, 2004 8:01 AM (in response to xs2iop)look in the server/default/deploy/jms
there you have all the xmls for the connectionFactories like xxx-service.xml