import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQuery;

@Entity
@NamedQuery(name = "findAll", query = "SELECT m FROM TelegramMessage m")
public class TelegramMessage {
    @Id
    @GeneratedValue
    Long id;
    @Column(name = "sender")
    String from;
    String content;

  public  TelegramMessage(){
 }
// getters and setters ici
…
}

 from("kafka:test")
    .log("Message entrant : ${body}")
 	.choice()
                 .when(simple("${body} contains 'Telegram'"))
                        .unmarshal().json(TelegramMessage.class)
                        .to("jpa:" + TelegramMessage.class.getName())
             .end();

# kafka
camel.component.kafka.brokers=INSERER_ICI_URI_BROKERS_KAFKA
#postgresql
quarkus.datasource.db-kind=postgresql 
quarkus.datasource.username=INSERER_ICI_USER_POSTGRESQL
quarkus.datasource.password=INSERER_ICI_PASSWORD_POSTGRESQL}
quarkus.datasource.jdbc.url=INSERER_ICI__JDBC_URL

    <dependency>
        <groupId>io.quarkus</groupId>
        <artifactId>quarkus-openshift</artifactId>
    </dependency>
    <dependency>
        <groupId>io.quarkus</groupId>
        <artifactId>quarkus-container-image-openshift</artifactId>
    </dependency>