/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/nikhef-apel/ApelTool.class
ViewVC logotype

Contents of /trunk/nl.nikhef.ndpf.tools/nikhef-apel/ApelTool.class

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2109 - (show annotations) (download) (as text)
Tue Nov 23 14:28:02 2010 UTC (11 years, 5 months ago) by davidg
File MIME type: application/octet-stream
File size: 6692 byte(s)
Unable to calculate annotation data on binary file contents.
Try

1 2p
2 u
3 
4 
5 
6 
7
8 
9
10 
11  
12 
13       
14    
15 7
16 7  
17 
18 F
19 I
20  
21 
22 N 
23
24     
25 V
26 U
27 [
28 ]
29 U
30     
31   !
32 "#
33 $%& '(
34 ]) F* F+,-. destinationLjavax/jms/Destination; messageCountI sleepTimeJverboseZshowHelp
35 timeToLiveuserLjava/lang/String;passwordurlsubject messageFiletopic
36 transacted
37 persistent<init>()VCodemain([Ljava/lang/String;)V StackMapTable/showParameters01 showUsagerun234sendLoop1(Ljavax/jms/Session;Ljavax/jms/MessageProducer;)V5
38 Exceptions setPersistent(Z)VsetMessageCount(I)V setPassword(Ljava/lang/String;)V setSleepTime(J)V
39 setSubject setTimeToLivesetTopicsetQueue setTransactedsetUrlsetUser
40 setVerbosesetHelpsetMessageFile<clinit> ApelTool6 789 :;java/lang/StringBuilderUnknown options: <=> ?@ ?A0 B C ~} |} End of program.Connecting to URL: Publishing messages to }queue: Using }non-persistent messagesFrom input file Sleeping between publish z{ <D ms {Messages time to live Usage: ApelTool [parameters]- --url=<URL> ActiveMQ server to connect to1 (e.g. ssl://apel-broker.esc.rl.ac.uk:61617) --subject=<ActiveMQ queue>8 (e.g. grid.accounting.apel.cpujobs.individualjobs)7 --persistent=<true|False> Post persistent messagesE --topic=<true|False> Use a Topic instead of a Subject queueH --message-file=<file|-> Read message from file or stdin (default)< --message-count=<N> Upload the first <N> messagesA --time-to-live=<N> Set the TimeToLive of the messagesV --sleep-time=<N> Set the sleep time between sending messages (default=0)9 --transacted=<true|False> Post 'transacted' messages) --verbose=<true|False> Be verbose0 --help=<true|False> Show this message-org/apache/activemq/ActiveMQConnectionFactory E FG2 H } IJ3 KL vw MN OP4 Q &org/apache/activemq/ActiveMQConnection Results:
41 RS&org/apache/activemq/util/IndentPrinterT UV Wjava/lang/Throwablejava/lang/ExceptionCaught: <X Y-1 Z[ Opening stdinjava/io/BufferedReaderjava/io/InputStreamReader \] ^ _ Opening file java/io/FileInputStream java/io/DataInputStream `A ab xy cd5 eA fg...Sending message: '' hij k <l messages sent. Committing m Closing file End of send loop n o failover://tcp://localhost:61616 TOOL.DEFAULTjava/lang/Object[Ljava/lang/String;java/io/PrintStreamjava/lang/Stringjavax/jms/Connectionjavax/jms/Sessionjavax/jms/MessageProducerjavax/jms/TextMessageCommandLineSupport
42 setOptions:(Ljava/lang/Object;[Ljava/lang/String;)[Ljava/lang/String;java/lang/SystemoutLjava/io/PrintStream;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;java/util/ArraystoString'([Ljava/lang/Object;)Ljava/lang/String;()Ljava/lang/String;printlnexit(J)Ljava/lang/StringBuilder;9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VcreateConnection()Ljavax/jms/Connection;start createSession(ZI)Ljavax/jms/Session; createTopic%(Ljava/lang/String;)Ljavax/jms/Topic; createQueue%(Ljava/lang/String;)Ljavax/jms/Queue;createProducer4(Ljavax/jms/Destination;)Ljavax/jms/MessageProducer;setDeliveryModegetConnectionStats9()Lorg/apache/activemq/management/JMSConnectionStatsImpl;5org/apache/activemq/management/JMSConnectionStatsImpldump+(Lorg/apache/activemq/util/IndentPrinter;)Vclose-(Ljava/lang/Object;)Ljava/lang/StringBuilder;printStackTraceequals(Ljava/lang/Object;)ZinLjava/io/InputStream;(Ljava/io/InputStream;)V(Ljava/io/Reader;)VreadLinelength()IcreateTextMessage+(Ljava/lang/String;)Ljavax/jms/TextMessage;getText substring(II)Ljava/lang/String;send(Ljavax/jms/Message;)Vjava/lang/Threadsleep(I)Ljava/lang/StringBuilder;commit DEFAULT_USERDEFAULT_PASSWORD!u
43 vw
44 xy
45 z{
46 |}
47 ~}
48 {
49
50
51
52
53
54 }
55 }
56 }* uXY*L+#Y +
57      1  *ٲY  Y    Y   Y! " Y# $%& ' #Y( '%& ?5-p }q) * + , - . / 0 1 2 3 4 5 6 K7Y89:L+;K*<*=>M,?@,A@,@BN -C
58 -C' -'D,-E *F:G HIYJK*LBL>LYO +P +Q*LL:*L:MNMMI > 'HCfC
59  =N:R"S& T UYVYWXYNLYZ " [Y"\:]Y^:UYVYXYN-_Y:`a au*b:Qc:`2Y2d e :Yf  g +h$irYjk ='Yl j *mR"S)Yn " o p *  '>B+ N  a *9 $ * '  $ @ = * *8   *"4(aq8r9stR"

Properties

Name Value
svn:mime-type application/octet-stream

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28