Skip to content

Instantly share code, notes, and snippets.

View stibi's full-sized avatar

Martin Stiborský stibi

  • Ostrava, Czech Republic
  • X @stibi
View GitHub Profile
public class FooEntity {
String foo;
String bar;
public String getFoo() {
return foo;
}
public void setFoo(String foo) {
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a
* copy of the License at the following location:
*
* http://www.apache.org/licenses/LICENSE-2.0
import org.apache.activemq.camel.component.ActiveMQComponent;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.apache.camel.util.jndi.JndiContext;
import org.junit.Test;
import javax.naming.Context;
import com.tieto.etb.esb.api.aggregating.StringListAggregator;
import org.apache.activemq.camel.component.ActiveMQComponent;
import org.apache.camel.LoggingLevel;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.apache.camel.util.jndi.JndiContext;
import org.junit.Test;
import javax.naming.Context;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.AvailablePortFinder;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.DefaultHttpClient;
import org.junit.Test;
import java.io.IOException;
import com.aggregating.StringListAggregator;
import org.apache.activemq.camel.component.ActiveMQComponent;
import org.apache.camel.Exchange;
import org.apache.camel.ExchangePattern;
import org.apache.camel.LoggingLevel;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.AvailablePortFinder;
import org.apache.camel.test.junit4.CamelTestSupport;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
/**
* @author stibomar
* @since 19/07/13 13:42
*/
2013-07-22 11:39:40 DefaultErrorHandler [ERROR] Failed delivery for (MessageId: ID-uw001239-60114-1374485975008-1-2 on ExchangeId: ID-uw001239-60114-1374485975008-1-5). Exhausted after delivery attempt: 1 caught: org.apache.camel.TypeConversionException: Error during type conversion from type: org.apache.cxf.message.XMLMessage to the required type: java.io.Serializable with value org.apache.cxf.message.XMLMessage@193b9d50 due java.lang.NullPointerException
org.apache.camel.TypeConversionException: Error during type conversion from type: org.apache.cxf.message.XMLMessage to the required type: java.io.Serializable with value org.apache.cxf.message.XMLMessage@193b9d50 due java.lang.NullPointerException
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:130)
at org.apache.camel.impl.DefaultExchangeHolder.checkMapSerializableObjects(DefaultExchangeHolder.java:228)
at org.apache.camel.impl.DefaultExchangeHolder.safeSetInHeaders(DefaultExchangeHolder.java:176)
a
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
@stibi
stibi / gist:3c00f7d3b889bd85c054
Created April 20, 2015 16:32
unix stickers nakup
1x Arch Linux OS badge sticker
http://www.unixstickers.com/stickers/linux_os_distribution_stickers/archlinux-os-badge-sticker
2x Debian OS badge sticker
http://www.unixstickers.com/stickers/linux_os_distribution_stickers/debian-os-badge-sticker
1x The Arch Linux Kit
http://www.unixstickers.com/stickers/linux_os_distribution_stickers/arch-linux-kit-stickers-and-pins
1x #! Bash shaped sticker