Monday, 15 March 2010

java - Apache Camel Bindy is not workign on Linux machine while same thingis working on windows -


I am using Apache Camel Bindi to parse the message correctly. I'm able to run it on a Windows machine, but I'm getting the error on the Linux machine

divider property of annoton @ message should be specified property < P> The following is my confirmation message

  package com.fm.fixconnector.seb; Import org.apache.camel.dataformat.bindy.annotation.KeyValuePairField; Import org.apache.camel.dataformat.bindy.annotation.Message; Import com.fm.fixconnector.domain.AbstractMarketData; Applies the public class quote data: @MessetData {@KeyValuePairField (tag = 131) Private string quote (message = pairing = "\\ u0001", key value pairs separator = "=", type = "rest assured", version = "4.3") I personal double price; @CavalPearfield (tag = 132) Private double bid price; @CavalPearfield (Tag = 133) Private Double Offer Point; @CavalPearfield (Tag = 54) Private string value type; @KavaluePearfield (tag = 15) private string currency; @CavalPearfield (Tag = 55) Private string symbol; @CavalPearfield (tag = 38) Private intake volume; Public double getPrice () {get (get "Get 1" ("1" .equalsIgnoreCase (priceType)) getOfferPrice (); Second refund BidPrice (); } Public Zero Set Processes (Double Pricing) {this.price = price; } Public double getBidPrice () {return bid price; } Public Zero Set BidPrice (double bid price) {this.bidPrice = bidPrice; } Public double getOfferPrice () {Return offer price; } Public Zero SetOfferPrice (Double OfferPrice) {this.offerPrice = offerPrice; } Public string getPriceType () {return value type; } Public Zero Set Publish Type (string value type) {this.priceType = priceType; } Public string getQuoteId () {quotationId; } Public Zero Set QuoteId (string quote) {this.quoteId = quoteId; } Public string getCurrency () {return currency; } Public string getSymbol () {return symbol; } Public int getQuantity () {return volume; } Public Zero set Quantity (int quantity) {this.quantity = Quantity; } @ Override public string to string () {stringbuilder builder = new stringbilder (); Builder.append ("MarketData ["); If (getPrice ()! = 0) {builder.append ("price ="); Builder.append (getPrice ()); Builder.epend (","); } If (BidPrice! = 0) {Builder. Append ("Bid Price ="); Builder.append (bidPrice); Builder.epend (","); } If (OfferPrice! = 0) {builder.append ("offer value ="); Builder.append (offerPrice); Builder.epend (","); } If (quoteId! = Null) {builder.append ("quoteId ="); Builder.append (quoteId); Builder.epend (","); } If (value typed! = Null) {builder.append ("priceType ="); Builder.append (priceType); } Builder.append ("]"); Return builder.trusting (); }}  

The following is defined for this reference

  & lt; Unmarshal ref = "bindyDataformatSEBPrice" & gt; & Lt; Bindy type = "keyValue" class type = "com.fm.fixconnector.seb.QuoteData" locale = "en-us" /> & Lt; / Unmarshal & gt;  

Please help me because I have been fighting for this for the last two days and there is still no success. Any help would be really appreciated. I am using Ubuntu.


No comments:

Post a Comment