btapo / stompj Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/stompj
Automatically exported from code.google.com/p/stompj
do you plan to support jdk 1.4 in future?
Original issue reported on code.google.com by [email protected]
on 21 Feb 2011 at 11:59
I have failed to find any source code for the library in the subversion
Original issue reported on code.google.com by [email protected]
on 30 Aug 2011 at 1:01
con = new Connection("url", 61613, "guest", "guest");
try {
System.out.println("Starting connection");
ErrorMessage errmsg = con.connect();
if (errmsg != null)
System.out.println("Error? "+errmsg.getContentAsString());
} catch (StompJException e) {
// TODO Auto-generated catch block
System.out.println("Couldn't connect with Java Stomp thing");
e.printStackTrace();
}
/////////////
Here are results :-(
Initializing connection
[INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer
service created
Starting connection
[ERROR] [Launcher:/app] org.red5.server.Scope - Could not start scope
[WebScope@55f35e30 Depth = 1, Path = '/default', Name = 'app'].
java.lang.NullPointerException
Original issue reported on code.google.com by [email protected]
on 4 Mar 2011 at 7:13
What steps will reproduce the problem?
call con.disconnect() function.
What is the expected output? What do you see instead?
expected output: no runtime exception.
when the con.disconnect is called, a runtime exception appears. Here is the
trace:
Exception in thread "Thread-1" pk.aamir.stompj.StompJRuntimeException: socket
closed
at pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:82)
at pk.aamir.stompj.internal.FrameReceiver.processInComingFrame(FrameReceiver.java:55)
at pk.aamir.stompj.internal.FrameReceiver.run(FrameReceiver.java:50)
Caused by: java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:71) at pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:71)
Original issue reported on code.google.com by [email protected]
on 28 May 2011 at 1:31
What steps will reproduce the problem?
1. Connect to a broker
2. Subscribe and begin receiving messages
3. Cause the network connection to be lost
What is the expected output? What do you see instead?
The library should either handle the exception and try to reconnect until
successful or pass the exception up to the main application. Instead the
application crashes because it fails to handle the exception.
What version of the product are you using? On what operating system?
0.5 on Android 2.3
Please provide any additional information below.
Exception:
FATAL EXCEPTION: Thread-11
pk.aamir.stompj.StompJRuntimeException: BufferedInputStream is closed
at pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:82 at
pk.aamir.stompj.internal.FrameReceiver.processInComingFrame(FrameReceiver.java:5
5) at pk.aamir.stompj.internal.FrameReceiver.run(FrameReceiver.java:50)
Caused by: java.io.IOException: BufferedInputStream is closed at
java.io.BufferedInputStream.streamClosed(BufferedInputStream.java:116)
at java.io.BufferedInputStream.read(BufferedInputStream.java:221)
at pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:71)
... 2 more
Original issue reported on code.google.com by [email protected]
on 12 Oct 2011 at 2:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.