GangXu / as3-stomp

Automatically exported from code.google.com/p/as3-stomp
0 stars 0 forks source link

add ssl/tsl support with As3Crypto com.hurlant.crypto.tls.TLSSocket #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It looks like as3Cryto is used in as3amqp for ssl/tsl support. Could it be
used in this project too? I would like to use as3-stomp to talk to ActiveMQ
in a project but at some point I know I'll need to start using ssl.

Original issue reported on code.google.com by t.mcgee....@gmail.com on 24 Jul 2008 at 11:46

GoogleCodeExporter commented 8 years ago
Good idea.

Original comment by dwischu...@gmail.com on 26 Jul 2008 at 1:06

GoogleCodeExporter commented 8 years ago
My solution for this was to add parameter to the connect method so that you can 
pass
in any type of Socket that you want.

For example,

var socket: Socket = new TLSSocket();
stomp.connect("localhost",61613, ch, socket);

Please note that this only works with the latest version of as3crypto source 
since
earlier versions of TLSSocket did not inherit from Socket.

Original comment by dwischu...@gmail.com on 27 Oct 2008 at 5:47

GoogleCodeExporter commented 8 years ago

Original comment by dwischu...@gmail.com on 27 Oct 2008 at 5:47