Skip to content

Commit

Permalink
Merge pull request #28 from mmajerni/camel4
Browse files Browse the repository at this point in the history
Update based on changes in Camel 4
  • Loading branch information
mmajerni authored Mar 14, 2024
2 parents 28cde96 + 5a6b0fb commit f941b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Transformations.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public void process(Exchange exchange) throws Exception {
}

List<String> coordinates = new ArrayList<String>();
coordinates.add(exchange.getProperty("lat", "").toString());
coordinates.add(exchange.getProperty("lon", "").toString());
coordinates.add(exchange.getProperty("lat", String.class));
coordinates.add(exchange.getProperty("lon", String.class));

Map<String, Object> geometry = new HashMap<String, Object>();
geometry.put("type", "Point");
Expand Down

0 comments on commit f941b46

Please sign in to comment.