Olakara wrote:
Hi all,
I just downloaded and started using Qpid. My server is running fine. i
tried running an example from the package
org\apache\qpid\example\amqpexample\direct. This particular example has
three files: DeclareQueue.java, DirectProducer.java and Listener.java. Even
after add all the jar available in Qpid lib folder, my eclipse says, the
constructor Connection() is not available. Instead it shows a constructor
with 2 arguments. So at the line:
Connection con = new Connection();
I have a error. The IDE says to use constructor of the form
Connection(Sender<ProtocolEvent> a,ConnectionDelegate a1).
Can anybody help me out in this? Where do i find the latest java docs
(release M3)? I am not able to compile the examples itself.
It sounds like you're using a more recent version of the examples with
an older version of the code. The low level API has changed between M3
and M4. I'd suggest sticking with the JMS examples and JMS API unless
there is some specific reason you need the low level API. If there is
some reason, then you probably want to wait for the M4 release (due out
shortly) so you can use the latest version of the API.
--Rafael