Hi there!

while investigating unintended behaviour of the program i am currently
writing on, i stumbled over code in TcpTransportFactory.java (in
activemq-client) where i cannot quite ascertain the author's intention.

*) what is a "local location uri"? (or is it just any URI, but then what
does the word "local location" mean?)
*) why is the port parsed as part of the path, isn't the java.net.URI
object given as parameter already supposed to have the schema, path,
port, etc separately?

I would be glad, if someone could give me a hint or two.

as a quick reference to the relevant code:
<https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob;f=activemq-client/src/main/java/org/apache/activemq/transport/tcp/TcpTransportFactory.java;h=ae555fdf1b8527486b37ef6dab95f4860af9f6db;hb=HEAD>
lines 125 to 144

with kind regards,

Max



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to