You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by manua <ag...@gmail.com> on 2009/04/27 15:49:28 UTC

Unable to compile ProducerTool.java code for Blob Messages


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-tp23226780p23256677.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.