Category "spring"

How to configure log4j in a Spring Mvc application configured with Java Annotations and using a log4j.properties file

I'm working on a Maven Web application using Spring MVC 4.2.5.RELEASE, I'm using Netbeans IDE with GlassFishSErver 4.1, I want to use log4j 1.2.17 so I created

Apache Camel: Set body from resource

Basically, I'm trying to do this (incorrect code!): <camel:setBody> <camel:simple>resource:classpath:/myfiles/file.xml</camel:simple>

Upload data file as byte array with Feign

How can I send file in Feign as byte array? @RequestLine("POST /api/files/{num}/push") @Headers({"Content-Type: application/zip"}) void pushFile(@Param