Skip to content

Commit

Permalink
Revert changed default port
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/stomp/trunk/ruby@23 fd4e7336-3dff-0310-b68a-b6615a75f13b
  • Loading branch information
brianm committed Dec 18, 2005
1 parent 5b1d20a commit 792ba31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/stomp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def Connection.open(login = "", passcode = "", host='localhost', port=61613)

# Create a connection, requires a login and passcode.
# Can accept a host (default is localhost), and port
# (default is 61626) to connect to
def initialize(login, passcode, host='localhost', port=61626)
# (default is 61613) to connect to
def initialize(login, passcode, host='localhost', port=61613)
@transmit_semaphore = Mutex.new
@read_semaphore = Mutex.new

Expand Down
2 changes: 1 addition & 1 deletion test/test_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class TestClient < Test::Unit::TestCase

def setup
@client = Stomp::Client.new("test", "user", "localhost", 61626)
@client = Stomp::Client.new("test", "user", "localhost", 61613)
end

def teardown
Expand Down
2 changes: 1 addition & 1 deletion test/test_stomp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class TestStomp < Test::Unit::TestCase

def setup
@conn = Stomp::Connection.open "test", "user", "localhost", 61626
@conn = Stomp::Connection.open "test", "user", "localhost", 61613
end

def teardown
Expand Down

0 comments on commit 792ba31

Please sign in to comment.