Skip to content

Commit ecb10cb

Browse files
committed
Clean up examples
1 parent 2685333 commit ecb10cb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/stomp-consumer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

33
var sys = require('sys');
4-
var stomp = require('./lib/stomp');
4+
var stomp = require('stomp');
55

66
// Set debug to true for more verbose output.
77
// login and passcode are optional (required by rabbitMQ)

examples/stomp-producer-txn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var receipt = false;
1111

1212
// Set debug to true for more verbose output.
1313
// login and passcode are optional (required by rabbitMQ)
14-
stomp_args = {
14+
var stomp_args = {
1515
port: 61613,
1616
host: 'localhost',
1717
debug: true,

examples/stomp-producer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/usr/bin/env node
22

3-
var stomp = require('./lib/stomp');
3+
var stomp = require('stomp');
44

55
var num = process.argv[2];
66

77
// Set to true if you want a receipt
88
// of all messages sent.
9-
var receipt = false;
9+
var receipt = true;
1010

1111
// Set debug to true for more verbose output.
1212
// login and passcode are optional (required by rabbitMQ)
13-
stomp_args = {
13+
var stomp_args = {
1414
port: 61613,
1515
host: 'localhost',
1616
debug: false,

0 commit comments

Comments
 (0)