blackList.add(MSG_PROPERTY_BLACKLISTED);
JmsComponent component = new JmsComponent();
JmsProviderEndpoint endpoint = new JmsProviderEndpoint();
endpoint.setService(new QName("jms"));
DefaultProviderMarshaler marshaler = new DefaultProviderMarshaler();
marshaler.setCopyProperties(copyProperties);
marshaler.setPropertyBlackList(blackList);
endpoint.setMarshaler(marshaler);
endpoint.setEndpoint("endpoint");
endpoint.setConnectionFactory(connectionFactory);
endpoint.setDestinationName("destination");
component.setEndpoints(new JmsProviderEndpoint[] {endpoint});