activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manua <agarwal.m...@gmail.com>
Subject Unable to create Blob messages
Date Sat, 25 Apr 2009 00:17:15 GMT

Hi All,

I am trying to use Blob Messages in my code, but getting following error at
compile time. I have import the BlobMessage class. The same code is working
fine for Text Messages.

[root@domU-12-31-38-00-35-27 example]# ant producer
/usr/bin/build-classpath: error: Could not find xml-commons-apis Java
extension                                                              for
this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Buildfile: build.xml

init:

compile:
    [javac] Compiling 1 source file to
/home/manu/apache-activemq-5.2.0/example/                                                
           
target/classes
    [javac]
/home/manu/apache-activemq-5.2.0/example/src/ProducerTool.java:135:                      
                                      
cannot find symbol
    [javac] symbol  : method createBlobMessage(java.io.InputStream)
    [javac] location: interface javax.jms.Session
    [javac]         BlobMessage message = session.createBlobMessage(inFile)
;
    [javac]                                      ^
    [javac] 1 error

BUILD FAILED
/home/manu/apache-activemq-5.2.0/example/build.xml:146: Compile failed; see
the                                                              compiler
error output for details.

Total time: 2 seconds

Kindly help me with this.

Thanks,
Manu

-- 
View this message in context: http://www.nabble.com/Unable-to-create-Blob-messages-tp23226780p23226780.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message