Postgres version #1
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ public class CamelConfiguration extends RouteBuilder {
|
|||
.process(exchange -> {
|
||||
JsoCall jsoCall = exchange.getIn().getBody(JsoCall.class);
|
||||
if (Point2D.distance(jsoCall.getPoint().getLat(), jsoCall.getPoint().getLng(), appProperties.myLat(), appProperties.myLong())
|
||||
>= appProperties.telegramNotificationThreshold()) {
|
||||
<= appProperties.telegramNotificationThreshold()) {
|
||||
exchange.setRouteStop(true);
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue